diff --git a/src/scripts/win32.ps1 b/src/scripts/win32.ps1 index 41457399..c021c893 100644 --- a/src/scripts/win32.ps1 +++ b/src/scripts/win32.ps1 @@ -88,6 +88,7 @@ Function Add-Path { } if ($env:GITHUB_PATH) { Add-Content $PathItem -Path $env:GITHUB_PATH -Encoding utf8 + $env:PATH += "$PathItem;" } else { $newPath = (Get-ItemProperty -Path 'hkcu:\Environment' -Name PATH).Path.replace("$PathItem;", '') $newPath = $PathItem + ';' + $newPath