Skip to content

Commit cdf9f21

Browse files
authored
Update issue1050.yml
1 parent c634a47 commit cdf9f21

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/issue1050.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
Write-Host "Python already installed"
2929
}
3030
31+
# Refresh the environment to pick up the new PATH
32+
$env:PATH = [System.Environment]::GetEnvironmentVariable("PATH", [System.EnvironmentVariableTarget]::Machine)
33+
3134
# Verify if Python is installed and accessible
3235
$pythonPath = Get-Command python -ErrorAction SilentlyContinue
3336
if ($pythonPath) {

0 commit comments

Comments
 (0)