We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fffff7 commit 02495dfCopy full SHA for 02495df
.github/workflows/ci.yml
@@ -278,7 +278,11 @@ jobs:
278
- name: Get OPAM env
279
if: steps.cache-opam-tool.outputs.cache-hit != 'true'
280
run: |
281
- which opam > .opam-path
+ if [[ "$RUNNER_OS" == "Windows" ]]; then
282
+ which opam.exe > .opam-path
283
+ else
284
+ which opam > .opam-path
285
+ fi
286
opam env > .opam-env
287
shell: bash
288
@@ -305,7 +309,9 @@ jobs:
305
309
if: steps.cache-opam-tool.outputs.cache-hit == 'true'
306
310
307
311
OPAM_PATH="$(cat .opam-path)"
308
- chmod +x "$OPAM_PATH"
312
+ if [[ "$RUNNER_OS" != "Windows" ]]; then
313
+ chmod +x "$OPAM_PATH"
314
+ elif
315
dirname "$OPAM_PATH" >> "$GITHUB_PATH"
316
317
0 commit comments