Skip to content

Commit ef704aa

Browse files
committed
fix powershell behavior
1 parent 20490d6 commit ef704aa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test_windows_wheel.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,11 @@ jobs:
102102
Write-Host "Waiting for zvec==$version to become available on PyPI..."
103103
}
104104
105+
$ErrorActionPreference = 'Continue'
106+
$PSNativeCommandUseErrorActionPreference = $false
105107
$found = $false
106108
for ($i = 1; $i -le 30; $i++) {
107-
python -m pip install @indexArgs --dry-run "zvec==$version" *> $null
109+
python -m pip install @indexArgs --dry-run "zvec==$version" 1>$null 2>$null
108110
if ($LASTEXITCODE -eq 0) {
109111
Write-Host "Version $version is available."
110112
$found = $true

0 commit comments

Comments
 (0)