Update build.yml

This commit is contained in:
Jay Lee
2021-07-23 12:49:21 -04:00
committed by GitHub
parent 94fe20607e
commit fbdfed81e7

View File

@@ -136,7 +136,8 @@ 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"
Start-Process -wait -FilePath $python_file -ArgumentList "/quiet","InstallAllUsers=1","TargetDir=c:\python","AssociateFiles=1","PrependPath=1"
Get-ChildItem -Path c:\python
shell: pwsh
- name: Set env variables for pre-compiled Python