Skip to content

Commit 84c9b91

Browse files
committed
setup-ocaml 3.0.7
1 parent 4a1fbf3 commit 84c9b91

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,12 @@ jobs:
160160
with:
161161
# See https://github.com/ocaml/setup-ocaml/blob/b2105f9/packages/setup-ocaml/src/unix.ts#L9
162162
packages: bubblewrap darcs g++-multilib gcc-multilib mercurial musl-tools rsync
163-
version: v1
163+
version: v2
164164

165165
# matrix.ocaml_compiler may contain commas
166166
- name: Get OPAM cache key
167167
shell: bash
168-
run: echo "opam_cache_key=opam-env-v1-${{ matrix.os }}-${{ matrix.ocaml_compiler }}-${{ hashFiles('dune-project') }}" | sed 's/,/-/g' >> $GITHUB_ENV
168+
run: echo "opam_cache_key=opam-env-v2-${{ matrix.os }}-${{ matrix.ocaml_compiler }}-${{ hashFiles('dune-project') }}" | sed 's/,/-/g' >> $GITHUB_ENV
169169

170170
- name: Restore OPAM environment
171171
id: cache-opam-env
@@ -181,7 +181,7 @@ jobs:
181181
key: ${{ env.opam_cache_key }}
182182

183183
- name: Use OCaml ${{matrix.ocaml_compiler}}
184-
uses: ocaml/setup-ocaml@v3.0.0
184+
uses: ocaml/setup-ocaml@v3.0.7
185185
if: steps.cache-opam-env.outputs.cache-hit != 'true'
186186
with:
187187
opam-repositories: |

0 commit comments

Comments
 (0)