From 32607ed6ba310c21ad0a9f7a4a2250c9c4ff17fa Mon Sep 17 00:00:00 2001 From: KazWolfe Date: Thu, 25 Jul 2024 12:22:54 -0700 Subject: [PATCH] fix/ci: don't reference a non-existent env var (#1975) --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d3d225293..2c564cc81 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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."