Skip to content

Commit

Permalink
windows bot: fix python version (#1409)
Browse files Browse the repository at this point in the history
  • Loading branch information
rjodinchr authored Oct 17, 2024
1 parent aae5afa commit 4dc6167
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions kokoro/scripts/windows/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@ set SRC=%cd%\github\clspv
set BUILD_TYPE=%1
set VS_VERSION=%2

:: Force usage of python 3.6.
set PATH=C:\python36;%PATH%
:: Define the Python version and download URL
set "pythonVersion=3.8.10"
:: Download Python installer
wget "https://www.python.org/ftp/python/%pythonVersion%/python-%pythonVersion%-amd64.exe" -O "%TEMP%\python-installer.exe"
:: Install Python silently
"%TEMP%\python-installer.exe" /quiet InstallAllUsers=1 PrependPath=1

cd %SRC%
python utils/fetch_sources.py
Expand Down

0 comments on commit 4dc6167

Please sign in to comment.