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 75
75
76
76
runs-on : ${{matrix.os}}
77
77
78
+ env :
79
+ SETUP_OCAML_VERSION : 3.3.5
80
+
78
81
steps :
79
82
- name : " Windows: Set git config"
80
83
if : runner.os == 'Windows'
@@ -141,7 +144,7 @@ jobs:
141
144
# matrix.ocaml_compiler may contain commas
142
145
- name : Get OPAM cache key
143
146
shell : bash
144
- run : echo "opam_cache_key=opam-env-v8-${{ matrix.os }}-${{ matrix.ocaml_compiler }}-${{ hashFiles('*.opam') }}" | sed 's/,/-/g' >> $GITHUB_ENV
147
+ run : echo "opam_cache_key=opam-env-v8-${{ matrix.os }}-${{ env.SETUP_OCAML_VERSION }}-{{ matrix.ocaml_compiler }}-${{ hashFiles('*.opam') }}" | sed 's/,/-/g' >> $GITHUB_ENV
145
148
146
149
- name : Restore OPAM environment
147
150
id : cache-opam-env
@@ -157,7 +160,7 @@ jobs:
157
160
key : ${{ env.opam_cache_key }}
158
161
159
162
- name : Use OCaml ${{matrix.ocaml_compiler}}
160
- uses : ocaml/setup-ocaml@v3.3.2
163
+ uses : ocaml/setup-ocaml@v${{ env.SETUP_OCAML_VERSION }}
161
164
if : steps.cache-opam-env.outputs.cache-hit != 'true'
162
165
with :
163
166
ocaml-compiler : ${{matrix.ocaml_compiler}}
You can’t perform that action at this time.
0 commit comments