We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c165b2c commit 6812b5bCopy full SHA for 6812b5b
.github/workflows/python-app.yml
@@ -14,22 +14,18 @@ jobs:
14
run: |
15
echo "D:\InvalidPath" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
16
echo "Updated PATH: $env:PATH"
17
- shell: pwsh
18
19
- name: Verify Invalid Path Added
20
run: echo $env:PATH
21
22
23
- name: Clean PATH
24
25
$cleanedPath = ($env:PATH -split ';' | Where-Object { Test-Path $_ }) -join ';'
26
echo $cleanedPath | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8
27
echo "Cleaned PATH: $cleanedPath"
28
29
30
- name: Verify Invalid Path Removed
31
32
33
34
- name: Set up Python
35
uses: actions/setup-python@v5
0 commit comments