Update build.yml

This commit is contained in:
Jay Lee
2021-07-23 12:59:34 -04:00
committed by GitHub
parent 085b24e1c5
commit 1a2950b580

View File

@@ -136,8 +136,9 @@ jobs:
Set-Variable -name python_url -value "https://www.python.org/ftp/python/${Env:BUILD_PYTHON_VERSION}/${python_file}"
Write-Output "python_url: $python_url"
Invoke-WebRequest -Uri $python_url -OutFile $python_file
Start-Process -wait -FilePath $python_file -ArgumentList "/quiet","InstallAllUsers=1","TargetDir=c:\python","AssociateFiles=1","PrependPath=1"
ls -alRF c:\python
Start-Process -wait -FilePath $python_file -ArgumentList "/quiet","InstallAllUsers=1","TargetDir=c:\\python","AssociateFiles=1","PrependPath=1"
Write-Output "finished waiting on python install"
ls -alRF c:\\python\\
shell: pwsh
- name: Set env variables for pre-compiled Python