Upload release artifacts seperately

This commit is contained in:
NBTX 2020-06-09 17:54:07 +01:00
parent f8a181403a
commit 66c7aa9f9d

View file

@ -141,16 +141,32 @@ jobs:
draft: false draft: false
prerelease: false prerelease: false
- -
name: Upload Release Asset name: Upload Windows Release Assets
id: upload_release_assets id: upload_release_assets_windows
uses: NBTX/upload-release-assets@v2.0.2 uses: NBTX/upload-release-assets@v2.0.2
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
upload_url: ${{ steps.create_release.outputs.upload_url }} upload_url: ${{ steps.create_release.outputs.upload_url }}
targets: "./release/artifact/**/*" targets: "./release/artifact/windows-*/*.exe"
-
name: Upload Linux Release Assets
id: upload_release_assets_linux
uses: NBTX/upload-release-assets@v2.0.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
targets: "./release/artifact/linux-*/*.!(md)"
-
name: Upload Darwin Release Assets
id: upload_release_assets_darwin
uses: NBTX/upload-release-assets@v2.0.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
targets: "./release/artifact/darwin-*/*.zip"