Update maven.yml
This commit is contained in:
parent
745f336023
commit
cd159f5374
1 changed files with 1 additions and 7 deletions
8
.github/workflows/maven.yml
vendored
8
.github/workflows/maven.yml
vendored
|
@ -50,12 +50,6 @@ jobs:
|
|||
draft: false
|
||||
prerelease: false
|
||||
|
||||
- name: Find Jar files
|
||||
id: find_jars
|
||||
run: |
|
||||
jars=$(find target -name '*.jar')
|
||||
echo "::set-output name=jars::$jars"
|
||||
|
||||
- name: Upload Jar as Release Asset
|
||||
id: upload-release-asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
|
@ -63,6 +57,6 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ${{ steps.find_jars.outputs.jars }}
|
||||
asset_path: builds
|
||||
asset_name: my-java-app.jar
|
||||
asset_content_type: application/java-archive
|
||||
|
|
Loading…
Reference in a new issue