Skip to content

Commit 590f335

Browse files
committed
Use relative paths to avoid mixed Windows and POSIX paths
1 parent 147f9d2 commit 590f335

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/windows_test_npm_install.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,16 +225,16 @@ jobs:
225225
# Run the build task:
226226
- name: 'Run build task'
227227
run: |
228-
chmod +x $GITHUB_WORKSPACE/tools/ci/github/script
229-
"$GITHUB_WORKSPACE/tools/ci/github/script" ${{ matrix.BUILD_TASK }} || "$GITHUB_WORKSPACE/tools/ci/github/script" ${{ matrix.BUILD_TASK }}
228+
chmod +x ./tools/ci/github/script
229+
"./tools/ci/github/script" ${{ matrix.BUILD_TASK }} || "./tools/ci/github/script" ${{ matrix.BUILD_TASK }}
230230
timeout-minutes: 360
231231

232232
# View the log file if the previous step fails:
233233
- name: 'View log file'
234234
if: failure()
235235
run: |
236-
chmod +x $GITHUB_WORKSPACE/tools/ci/github/on_failure
237-
"$GITHUB_WORKSPACE/tools/ci/github/on_failure"
236+
chmod +x ./tools/ci/github/on_failure
237+
"./tools/ci/github/on_failure"
238238
timeout-minutes: 5
239239

240240
# Upload the log file:

0 commit comments

Comments
 (0)