Update build.yml

This commit is contained in:
Jay Lee
2021-07-23 13:27:53 -04:00
committed by GitHub
parent 21c693921b
commit 6d59daad19

View File

@@ -136,7 +136,7 @@ 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=0","TargetDir=c:\\python","AssociateFiles=1","PrependPath=1"
Write-Output "finished waiting on python install"
Get-ChildItem c:\python\ -Recurse
while (!(Test-Path "C:\python\scripts\pip.exe")) { echo "no pip.exe"; Start-Sleep 10 }