Skip to content

Commit 4d2aedd

Browse files
committed
continue
1 parent e21be6d commit 4d2aedd

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/cryptography_wheel.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,12 @@ jobs:
119119
id: check-pymanager
120120
shell: pwsh
121121
run: |
122-
py list 2>$null
123-
if ($LASTEXITCODE -ne 0) {
124-
echo "installed=false" >> $env:GITHUB_OUTPUT
125-
} else {
122+
$PSNativeCommandUseErrorActionPreference = $false
123+
py list 2>$null | Out-Null
124+
if ($LASTEXITCODE -eq 0) {
126125
echo "installed=true" >> $env:GITHUB_OUTPUT
126+
} else {
127+
echo "installed=false" >> $env:GITHUB_OUTPUT
127128
}
128129
129130
- name: Install PyManager

0 commit comments

Comments
 (0)