Skip to content

Commit 8cfee0e

Browse files
Update python-app.yml
1 parent fd2afc8 commit 8cfee0e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/python-app.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88

99
steps:
1010
- name: Checkout repository
11-
uses: actions/checkout@v4
11+
uses: actions/checkout@v2
1212

1313
- name: Add Invalid Path
1414
run: |
15-
echo "D:\InvalidPath" >> $env:GITHUB_PATH
15+
echo "D:\InvalidPath" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
1616
echo "Updated PATH: $env:PATH"
1717
shell: pwsh
1818

@@ -24,6 +24,7 @@ jobs:
2424
run: |
2525
$env:PATH = ($env:PATH -split ';' | Where-Object { Test-Path $_ }) -join ';'
2626
echo "Cleaned PATH: $env:PATH"
27+
echo $env:PATH | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
2728
shell: pwsh
2829

2930
- name: Verify Invalid Path Removed

0 commit comments

Comments
 (0)