Upload release artifacts seperately
This commit is contained in:
parent
f8a181403a
commit
66c7aa9f9d
1 changed files with 141 additions and 125 deletions
26
.github/workflows/main.yml
vendored
26
.github/workflows/main.yml
vendored
|
@ -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"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue