ci: validate signing key and quiet missing baselines

This commit is contained in:
lincube
2026-04-21 00:46:57 +08:00
parent 82f1e77393
commit 8323b8cb61
2 changed files with 40 additions and 7 deletions

View File

@@ -80,7 +80,13 @@ function Invoke-AwsSyncIfPossible {
return
}
& aws @Arguments
if ($IgnoreFailure) {
& aws @Arguments 2>$null
}
else {
& aws @Arguments
}
if ($LASTEXITCODE -ne 0 -and -not $IgnoreFailure) {
throw "aws command failed: aws $($Arguments -join ' ')"
}