Skip to content

Commit 481d449

Browse files
committed
fix PATH
1 parent 41cad89 commit 481d449

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/CI.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ jobs:
5454
run: |
5555
Print["Version: ", $Version]
5656
Print["License expiration: ", $LicenseExpirationDate]
57-
shell: ${{ env.WOLFRAMENGINE_EXECUTABLE_DIRECTORY }}/WolframKernel -noicon -script {0}
57+
shell: WolframKernel -noicon -script {0}
58+
env:
59+
PATH: "${{env.PATH }}:${{ env.WOLFRAMENGINE_EXECUTABLE_DIRECTORY }}"
5860

5961
- uses: julia-actions/setup-julia@v1
6062
- uses: julia-actions/cache@v1
@@ -119,7 +121,9 @@ jobs:
119121
run: |
120122
Print["Version: ", $Version]
121123
Print["License expiration: ", $LicenseExpirationDate]
122-
shell: ${{ runner.temp }}/${{ env.WOLFRAMENGINE_INSTALLATION_SUBDIRECTORY }}/WolframKernel -noicon -script {0}
124+
shell: WolframKernel -noicon -script {0}
125+
env:
126+
PATH: "${{env.PATH }};${{ env.WOLFRAMENGINE_EXECUTABLE_DIRECTORY }}"
123127

124128
- uses: julia-actions/setup-julia@v1
125129
- uses: julia-actions/cache@v1

0 commit comments

Comments
 (0)