File tree 1 file changed +13
-3
lines changed 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -142,15 +142,25 @@ jobs:
142
142
chmod +x _build/install/default/bin/*
143
143
144
144
- name : Use OCaml ${{matrix.ocaml_compiler}}
145
-
146
- if : matrix.os != 'windows-latest'
145
+ uses : ocaml/setup-ocaml@v2
146
+ if : matrix.os != 'macos-arm' && matrix.os != 'windows-latest'
147
+ with :
148
+ ocaml-compiler : ${{matrix.ocaml_compiler}}
149
+ opam-pin : false
150
+ opam-depext : false
151
+
152
+ - name : Use OCaml ${{matrix.ocaml_compiler}}
153
+ uses : ocaml/setup-ocaml@v2
154
+ env :
155
+ GITHUB_ACTIONS : false # see https://github.com/ocaml/setup-ocaml/issues/735#issuecomment-1845210572
156
+ if : matrix.os == 'macos-arm'
147
157
with :
148
158
ocaml-compiler : ${{matrix.ocaml_compiler}}
149
159
opam-pin : false
150
160
opam-depext : false
151
161
152
162
- name : Use OCaml ${{matrix.ocaml_compiler}} (Win)
153
- uses : ocaml/setup-ocaml@v2.1.7
163
+ uses : ocaml/setup-ocaml@v2
154
164
if : matrix.os == 'windows-latest'
155
165
with :
156
166
ocaml-compiler : ${{matrix.ocaml_compiler}}
You can’t perform that action at this time.
0 commit comments