Skip to content

Commit 93a5c02

Browse files
committed
fix
1 parent 35f1e29 commit 93a5c02

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ jobs:
260260

261261
- name: Get OPAM environment
262262
if: steps.cache-opam-env.outputs.cache-hit != 'true'
263+
shell: bash
263264
run: |
264265
command -v opam | tee .opam-path
265266
opam env > .opam-env
@@ -353,7 +354,9 @@ jobs:
353354
- name: "Check if syntax subfolder has changed"
354355
id: syntax-diff
355356
shell: bash
356-
run: >-
357+
env:
358+
SHELLOPTS: igncr # see https://github.com/ocaml/setup-ocaml/issues/815
359+
run: |
357360
if git diff --name-only --exit-code HEAD^ HEAD -- jscomp/syntax; then
358361
echo "syntax_status=unchanged" >> $GITHUB_ENV
359362
else

0 commit comments

Comments
 (0)