diff --git a/.github/scripts/compute-bazel-windows-path.ps1 b/.github/scripts/compute-bazel-windows-path.ps1 index 347d16bfef..dc90de8ac3 100644 --- a/.github/scripts/compute-bazel-windows-path.ps1 +++ b/.github/scripts/compute-bazel-windows-path.ps1 @@ -36,6 +36,7 @@ $testPathEntries = @( (Join-Path $gitRoot 'bin'), (Join-Path $gitRoot 'usr\bin'), (Join-Path $env:LOCALAPPDATA 'Microsoft\WindowsApps'), + (Join-Path $windowsDir 'System32\WindowsPowerShell\v1.0'), (Join-Path $windowsDir 'System32'), $windowsDir )