[ci]Fail when a step in multiline powershell fails (#35520)

This commit is contained in:
Jaime Bernardo
2024-10-23 08:52:47 +01:00
committed by GitHub
parent 5af2f6f825
commit 04795c6d3a
3 changed files with 10 additions and 2 deletions

View File

@@ -59,6 +59,7 @@ if ($errorTable.Count -gt 0) {
};
Write-Host -ForegroundColor Red `r
}
Write-Error "Found arm64 verification errors."
exit 1;
}