mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
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:
committed by
GitHub
parent
04be1ac4a1
commit
2e2e9a3702
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user