File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,11 @@ jobs:
161
161
git config --global core.autocrlf false
162
162
git config --global core.eol lf
163
163
164
+ # see https://github.com/ocaml/setup-ocaml/issues/815
165
+ - name : " Windows: set SHELLOPTS=igncr"
166
+ if : runner.os == 'Windows'
167
+ run : echo "SHELLOPTS=igncr" >>"$GITHUB_ENV"
168
+
164
169
- name : Checkout
165
170
uses : actions/checkout@v4
166
171
with :
@@ -328,8 +333,6 @@ jobs:
328
333
- name : " Check if syntax subfolder has changed"
329
334
id : syntax-diff
330
335
shell : bash
331
- env :
332
- SHELLOPTS : igncr # see https://github.com/ocaml/setup-ocaml/issues/815
333
336
run : |
334
337
if git diff --name-only --exit-code HEAD^ HEAD -- jscomp/syntax; then
335
338
echo "syntax_status=unchanged" >> $GITHUB_ENV
You can’t perform that action at this time.
0 commit comments