From 7e2c6d6430546c9798fb6bd5df6a1cbd6c641123 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Sun, 19 Jul 2020 07:21:50 -0500 Subject: [PATCH] Added git path location correctly --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6206fcc..4233cb1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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'