Skip to content

Commit 6812b5b

Browse files
Update python-app.yml
1 parent c165b2c commit 6812b5b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

.github/workflows/python-app.yml

-4
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,18 @@ jobs:
1414
run: |
1515
echo "D:\InvalidPath" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
1616
echo "Updated PATH: $env:PATH"
17-
shell: pwsh
1817
1918
- name: Verify Invalid Path Added
2019
run: echo $env:PATH
21-
shell: pwsh
2220

2321
- name: Clean PATH
2422
run: |
2523
$cleanedPath = ($env:PATH -split ';' | Where-Object { Test-Path $_ }) -join ';'
2624
echo $cleanedPath | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8
2725
echo "Cleaned PATH: $cleanedPath"
28-
shell: pwsh
2926
3027
- name: Verify Invalid Path Removed
3128
run: echo $env:PATH
32-
shell: pwsh
3329

3430
- name: Set up Python
3531
uses: actions/setup-python@v5

0 commit comments

Comments
 (0)