diff --git a/build_agent.cmd b/build_agent.cmd index 3587c26..dc67d23 100644 --- a/build_agent.cmd +++ b/build_agent.cmd @@ -18,7 +18,7 @@ if %errorlevel% NEQ 0 ( where go.exe >nul 2>&1 if %errorlevel% NEQ 0 ( echo Installing Go with Winget - winget install GoLang.Go >nul 2>&1 + winget install GoLang.Go set REFRESHENV=1 ) else ( echo Go executable found @@ -27,7 +27,7 @@ if %errorlevel% NEQ 0 ( where git.exe >nul 2>&1 if %errorlevel% NEQ 0 ( echo Installing Git with Winget - winget install Git.Git >nul 2>&1 + winget install Git.Git set REFRESHENV=1 ) else ( echo Git executable found