fix/ci: don't reference a non-existent env var (#1975)

This commit is contained in:
KazWolfe 2024-07-25 12:22:54 -07:00 committed by GitHub
parent bd170ee74a
commit 32607ed6ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -92,7 +92,7 @@ jobs:
foreach ($file in $FILES_TO_VALIDATE) {
$testout = ""
Write-Output "::group::=== API COMPATIBILITY CHECK: ${file} ==="
apicompat -l "left\${file}" -r "right\${file}" --noWarn "$(NoWarn);CP0006" | Tee-Object -Variable testout
apicompat -l "left\${file}" -r "right\${file}" --noWarn "CP0006" | Tee-Object -Variable testout
Write-Output "::endgroup::"
if ($testout -ne "APICompat ran successfully without finding any breaking changes.") {
Write-Output "::error::${file} did not pass. Please review it for problems."