mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-06-22 10:02:20 +00:00
ci: harden windows release upload step
This commit is contained in:
parent
5707e7fe73
commit
e33df9745c
1 changed files with 6 additions and 1 deletions
7
.github/workflows/tokenless-windows-x64.yml
vendored
7
.github/workflows/tokenless-windows-x64.yml
vendored
|
|
@ -207,4 +207,9 @@ jobs:
|
|||
}
|
||||
}
|
||||
Get-ChildItem -Path .\SignOutput
|
||||
gh release upload $env:RELEASE_TAG --repo $env:GITHUB_REPOSITORY .\SignOutput\* --clobber
|
||||
Get-ChildItem -Path .\SignOutput -File | ForEach-Object {
|
||||
gh release upload $env:RELEASE_TAG --repo $env:GITHUB_REPOSITORY $_.FullName --clobber
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
throw "Failed to upload $($_.FullName)"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue