ci: fix PowerShell status interpolation
Some checks failed
Build Windows Release / Build Windows x64 Release (push) Failing after 24s
Some checks failed
Build Windows Release / Build Windows x64 Release (push) Failing after 24s
This commit is contained in:
@@ -190,7 +190,7 @@ jobs:
|
||||
--output $responseFile `
|
||||
$uploadUrl
|
||||
if ($status -ne '200' -and $status -ne '201') {
|
||||
Write-Error "Upload release asset failed, HTTP $status: $name"
|
||||
Write-Error "Upload release asset failed, HTTP ${status}: $name"
|
||||
if (Test-Path $responseFile) { Get-Content $responseFile }
|
||||
exit 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user