diff --git a/.github/actions/setup-dependencies/action.yml b/.github/actions/setup-dependencies/action.yml index 7182ad47091..ae9a9ae6930 100644 --- a/.github/actions/setup-dependencies/action.yml +++ b/.github/actions/setup-dependencies/action.yml @@ -97,10 +97,8 @@ runs: # This choco install will overwrite the existing Python installation - name: Setup Debug Python run: | - where python3 - where python - choco install python312 --installargs='Include_debug=1' -y --no-progress --params "/InstallDir:C:\Python312" - echo "PythonHome=C:\Python312" >> $env:GITHUB_ENV + choco install python312 --override --installargs='/quiet Include_debug=1 InstallAllUsers=1 PrependPath=1 TargetDir=C:\Python3' -y --no-progress + echo "PythonHome=C:\Python3" >> $env:GITHUB_ENV shell: powershell if: runner.os == 'Windows'