Skip to content

Commit 20a18fb

Browse files
committed
Fix Windows CI
Error was: line 1: $'\r': command not found See: ocaml/setup-ocaml#815 (comment)
1 parent 1614374 commit 20a18fb

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,6 @@ jobs:
2525
uses: actions/checkout@v3
2626

2727
- name: Use OCaml ${{ matrix.ocaml-compiler }}
28-
if: runner.os == 'Windows'
29-
uses: ocaml/setup-ocaml@v3
30-
with:
31-
ocaml-compiler: ${{ matrix.ocaml-compiler }}
32-
opam-repositories: |
33-
opam-repository-mingw: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset
34-
default: https://github.com/ocaml/opam-repository.git
35-
36-
- name: Use OCaml ${{ matrix.ocaml-compiler }}
37-
if: runner.os != 'Windows'
3828
uses: ocaml/setup-ocaml@v3
3929
with:
4030
ocaml-compiler: ${{ matrix.ocaml-compiler }}
@@ -44,6 +34,7 @@ jobs:
4434
shell: bash
4535
env:
4636
CAPNP_VERSION: 1.0.1
37+
SHELLOPTS: igncr
4738
run: |
4839
curl -LO https://capnproto.org/capnproto-c++-win32-$CAPNP_VERSION.zip && \
4940
unzip -j capnproto-c++-win32-$CAPNP_VERSION.zip capnproto-tools-win32-$CAPNP_VERSION/capnp.exe -d /usr/bin

0 commit comments

Comments
 (0)