|
75 | 75 | # as this runs on a self hosted runner, we need to override the default working directory,
|
76 | 76 | # otherwise paths in the build job will be too long for `light.exe`
|
77 | 77 | working-directory: 'C:\a'
|
| 78 | + relative-working-directory: '../../../../a' |
78 | 79 | artifacts:
|
79 | 80 | - path: '*Windows_64bit.exe'
|
80 | 81 | name: Windows_X86-64_interactive_installer
|
@@ -305,14 +306,14 @@ jobs:
|
305 | 306 | if: fromJSON(matrix.config.container) == null
|
306 | 307 | uses: actions/checkout@v4
|
307 | 308 | with:
|
308 |
| - path: ${{ runner.os == 'Windows' && matrix.config.working-directory }} |
| 309 | + path: ${{ runner.os == 'Windows' && matrix.config.relative-working-directory }} |
309 | 310 |
|
310 | 311 | - name: Checkout
|
311 | 312 | # actions/checkout@v4 has dependency on a higher version of glibc than available in the Linux container.
|
312 | 313 | if: fromJSON(matrix.config.container) != null
|
313 | 314 | uses: actions/checkout@v3
|
314 | 315 | with:
|
315 |
| - path: ${{ runner.os == 'Windows' && matrix.config.working-directory }} |
| 316 | + path: ${{ runner.os == 'Windows' && matrix.config.relative-working-directory }} |
316 | 317 |
|
317 | 318 | - name: Install Node.js
|
318 | 319 | if: fromJSON(matrix.config.container) == null && runner.os != 'Windows'
|
@@ -422,14 +423,14 @@ jobs:
|
422 | 423 | with:
|
423 | 424 | if-no-files-found: error
|
424 | 425 | name: ${{ env.STAGED_CHANNEL_FILES_ARTIFACT }}
|
425 |
| - path: ${{ runner.os == 'Windows' && matrix.config.working-directory && format('{0}/{1}', matrix.config.working-directory, env.STAGED_CHANNEL_FILES_PATH) || env.STAGED_CHANNEL_FILES_PATH }} |
| 426 | + path: ${{ runner.os == 'Windows' && matrix.config.relative-working-directory && format('{0}/{1}', matrix.config.relative-working-directory, env.STAGED_CHANNEL_FILES_PATH) || env.STAGED_CHANNEL_FILES_PATH }} |
426 | 427 |
|
427 | 428 |
|
428 | 429 | - name: Upload [GitHub Actions]
|
429 | 430 | uses: actions/upload-artifact@v3
|
430 | 431 | with:
|
431 | 432 | name: ${{ env.JOB_TRANSFER_ARTIFACT }}
|
432 |
| - path: ${{ runner.os == 'Windows' && matrix.config.working-directory && format('{0}/{1}', matrix.config.working-directory, env.BUILD_ARTIFACTS_PATH) || env.BUILD_ARTIFACTS_PATH }} |
| 433 | + path: ${{ runner.os == 'Windows' && matrix.config.relative-working-directory && format('{0}/{1}', matrix.config.relative-working-directory, env.BUILD_ARTIFACTS_PATH) || env.BUILD_ARTIFACTS_PATH }} |
433 | 434 |
|
434 | 435 | merge-channel-files:
|
435 | 436 | needs:
|
|
0 commit comments