From 1be07728ae943359fc4f44d8b6321c0d36116870 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Thu, 23 Dec 2021 14:54:38 -0600 Subject: [PATCH] Try to install python --- .drone.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 9307ddc..b64ce7f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,6 +11,13 @@ steps: commands: - 'type C:\ProgramData\Amazon\EC2-Windows\Launch\Log\UserdataExecution.log' -- name: install chocolatey +- name: Upgrade chocolatey commands: - - 'Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString("https://community.chocolatey.org/install.ps1"))' \ No newline at end of file + - 'choco upgrade chocolatey -y' + +- name: Install Python + environment: + PYTHON3_32: "C:\\python37\\python.exe" + commands: + - 'choco install python --version 3.7.9 -y -ForceX86' + - '&$env:PYTHON3_32 -V' \ No newline at end of file