We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e21be6d commit 4d2aeddCopy full SHA for 4d2aedd
1 file changed
.github/workflows/cryptography_wheel.yml
@@ -119,11 +119,12 @@ jobs:
119
id: check-pymanager
120
shell: pwsh
121
run: |
122
- py list 2>$null
123
- if ($LASTEXITCODE -ne 0) {
124
- echo "installed=false" >> $env:GITHUB_OUTPUT
125
- } else {
+ $PSNativeCommandUseErrorActionPreference = $false
+ py list 2>$null | Out-Null
+ if ($LASTEXITCODE -eq 0) {
126
echo "installed=true" >> $env:GITHUB_OUTPUT
+ } else {
127
+ echo "installed=false" >> $env:GITHUB_OUTPUT
128
}
129
130
- name: Install PyManager
0 commit comments