ci: use call instead of cmd /C (#23985)
Since we want to import the environment change from RefreshEnv.cmd we also want to share the same execution context of the caller.
This commit is contained in:
		
					parent
					
						
							
								04be1ac4a1
							
						
					
				
			
			
				commit
				
					
						2e2e9a3702
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -71,11 +71,11 @@ SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
 | 
			
		|||
 | 
			
		||||
REM Install nodejs python git and yarn needed dependencies
 | 
			
		||||
choco install -y nodejs python2 git yarn windows-sdk-10-version-1903-windbg
 | 
			
		||||
cmd /c C:\ProgramData\chocolatey\bin\RefreshEnv.cmd
 | 
			
		||||
call C:\ProgramData\chocolatey\bin\RefreshEnv.cmd
 | 
			
		||||
SET PATH=C:\Python27\;C:\Python27\Scripts;%PATH%
 | 
			
		||||
 | 
			
		||||
pip install pywin32
 | 
			
		||||
cmd /c C:\ProgramData\chocolatey\bin\RefreshEnv.cmd
 | 
			
		||||
call C:\ProgramData\chocolatey\bin\RefreshEnv.cmd
 | 
			
		||||
pip2 install pywin32
 | 
			
		||||
 | 
			
		||||
REM Setup Depot Tools
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue