fix windows release upload
This commit is contained in:
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -113,12 +113,14 @@ jobs:
|
|||||||
run: npm run build:win
|
run: npm run build:win
|
||||||
|
|
||||||
- name: Upload release assets
|
- name: Upload release assets
|
||||||
shell: bash
|
shell: pwsh
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
TAG: ${{ needs.prepare-release.outputs.tag }}
|
TAG: ${{ needs.prepare-release.outputs.tag }}
|
||||||
run: |
|
run: |
|
||||||
gh release upload "$TAG" release/* --clobber
|
Get-ChildItem -Path "release" -File -Recurse | ForEach-Object {
|
||||||
|
gh release upload $env:TAG $_.FullName --clobber
|
||||||
|
}
|
||||||
|
|
||||||
build-linux:
|
build-linux:
|
||||||
needs: prepare-release
|
needs: prepare-release
|
||||||
|
|||||||
Reference in New Issue
Block a user