diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4a145c8..29ebad4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -46,7 +46,7 @@ jobs: shell: pwsh run: | [System.Environment]::GetEnvironmentVariable('PATH', 'User') - gci env:PATH + [System.Environment]::GetEnvironmentVariable('PATH', 'Process') pwsh -v Install-Module Microsoft.PowerShell.ConsoleGuiTools -Verbose -Force