diff --git a/.ci/scripts/install-tools.bat b/.ci/scripts/install-tools.bat index 8cb837553dc..86572356da9 100644 --- a/.ci/scripts/install-tools.bat +++ b/.ci/scripts/install-tools.bat @@ -14,6 +14,10 @@ curl --version >nul 2>&1 && ( REM Set the USERPROFILE to the previous location to fix issues with chocolatey in windows 2019 SET PREVIOUS_USERPROFILE=%USERPROFILE% SET USERPROFILE=%OLD_USERPROFILE% + +echo "Upgrade chocolatey to latest version" +choco upgrade chocolatey -y + IF NOT EXIST C:\Python38\python.exe ( REM Install python 3.8 choco install python -y -r --no-progress --version 3.8.5 || exit /b 1