[no ci] actions: only update VS when we are compiling OpenSSL/Python

This commit is contained in:
Jay Lee
2026-03-05 15:45:34 -05:00
committed by GitHub
parent 0c2fdeee6b
commit d71bf9b6cb

View File

@@ -264,7 +264,7 @@ jobs:
p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}
- name: Update Visual Studio
if: runner.os == 'Windows'
if: runner.os == 'Windows' && steps.cache-python-ssl.outputs.cache-hit != 'true'
shell: pwsh
run: |
Write-Host "Locating current Visual Studio installation..."