Skip to content

Commit

Permalink
Update CI workflow file:
Browse files Browse the repository at this point in the history
* asset path for upload release asset does not support wildcards
* correct ending for linux asset
* correct MIME type for linux asset
  • Loading branch information
Armin Schrenk committed Jun 18, 2020
1 parent 3756c5d commit 8c0b0e8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/buildArtifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,16 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ env.APP_NAME }}-SNAPSHOT-Linux/helloJavaFX-*
asset_name: ${{ env.APP_NAME }}-${{ env.BUILD_VERSION }}-linux.zip
asset_content_type: application/zip
asset_path: ${{ env.APP_NAME }}-SNAPSHOT-Linux/helloJavaFX-${{ env.BUILD_VERSION }}-linux.tar.gz
asset_name: ${{ env.APP_NAME }}-${{ env.BUILD_VERSION }}-linux.tar.gz
asset_content_type: application/gzip
- name: Upload mac kit to GitHub Releases
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ env.APP_NAME }}-SNAPSHOT-macOS/helloJavaFX-*
asset_path: ${{ env.APP_NAME }}-SNAPSHOT-macOS/helloJavaFX-${{ env.BUILD_VERSION }}-mac.zip
asset_name: ${{ env.APP_NAME }}-${{ env.BUILD_VERSION }}-mac.zip
asset_content_type: application/zip
- name: Upload windows kit to GitHub Releases
Expand All @@ -99,6 +99,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ env.APP_NAME }}-SNAPSHOT-Windows/helloJavaFX-*
asset_path: ${{ env.APP_NAME }}-SNAPSHOT-Windows/helloJavaFX-${{ env.BUILD_VERSION }}-win.zip
asset_name: ${{ env.APP_NAME }}-${{ env.BUILD_VERSION }}-win.zip
asset_content_type: application/zip

0 comments on commit 8c0b0e8

Please sign in to comment.