diff --git a/.github/workflows/build_wheels_release_python312test.yml b/.github/workflows/build_wheels_release_python312test.yml index 06c28d6f..b50b4854 100644 --- a/.github/workflows/build_wheels_release_python312test.yml +++ b/.github/workflows/build_wheels_release_python312test.yml @@ -78,7 +78,11 @@ jobs: steps: - - run: choco upgrade visualstudio2022enterprise --version=117.9.7.0 + - name: Uninstall VS2022 + run: choco uninstall visualstudio2022enterprise + if: runner.os == 'Windows' + - name: Install VS2022 17.9 + run: choco install visualstudio2022enterprise --version=117.9.7.0 if: runner.os == 'Windows' # Free disk space