diff --git a/.ci/scripts/install-tools.bat b/.ci/scripts/install-tools.bat index 379eab90063d..0066b25be293 100644 --- a/.ci/scripts/install-tools.bat +++ b/.ci/scripts/install-tools.bat @@ -14,3 +14,12 @@ IF ERRORLEVEL 1 ( FOR /f "tokens=*" %%i IN ('"gvm.exe" use %GO_VERSION% --format=batch') DO %%i go install github.com/elastic/beats/vendor/github.com/magefile/mage +mage -version +where mage + +if not exist C:\Python38\python.exe ( + REM Install python 3.8. + choco install python -y -r --no-progress --version 3.8.2 || echo ERROR && exit /b +) +python --version +where python