Added git path location correctly

This commit is contained in:
Manuel Cortez 2020-07-19 07:21:50 -05:00
parent c9b85f31f7
commit 7e2c6d6430

View File

@ -19,8 +19,8 @@ stages:
- windows10
before_script:
- 'Invoke-WebRequest -UseBasicParsing -Uri "https://github.com/git-for-windows/git/releases/download/v2.27.0.windows.1/Git-2.27.0-32-bit.exe" -OutFile "git_setup.exe"'
- '.\git_setup.exe /verysilent /dir=git'
- '$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";C:\git\bin" + [System.Environment]::GetEnvironmentVariable("Path","User") '
- '.\git_setup.exe /verysilent /dir=C:\git'
- '$env:Path = [System.Environment]::tEnvironmentVariable("Path","Machine") + ";C:\git\bin" + [System.Environment]::GetEnvironmentVariable("Path","User") '
- 'python -V'
# - '&$env:PYTHON3_32 -m venv env'
# - 'env\scripts\activate'