mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-21 16:14:28 +08:00
ci: validate signing key and quiet missing baselines
This commit is contained in:
@@ -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 ' ')"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user