ci: fail loud on velopack errors, guard release assets
CI / release (push) Failing after 1m8s
CI / build-and-test (push) Successful in 1m42s

This commit is contained in:
fristy committed 2026-09-05 15:06:50 +03:00
1 parent 8d806d5bff
commit 01f3544f78
2 files changed
+8 -1

No files matched your search

+2
View File
@@ -66,6 +66,7 @@ $publishArgs = @(
Write-Host "dotnet publish..." -ForegroundColor Cyan
if (-not $WhatIf) {
& dotnet $publishArgs
if ($LASTEXITCODE -ne 0) { throw "dotnet publish failed ($LASTEXITCODE)" }
} else {
Write-Host "[WhatIf] dotnet $publishArgs"
}
@@ -85,6 +86,7 @@ $vpkArgs = @(
Write-Host "vpk pack..." -ForegroundColor Cyan
if (-not $WhatIf) {
& dotnet tool run vpk $vpkArgs
if ($LASTEXITCODE -ne 0) { throw "vpk pack failed ($LASTEXITCODE)" }
} else {
Write-Host "[WhatIf] dotnet tool run vpk $vpkArgs"
}