Skip to content

Commit a544ca7

Browse files
committed
fix opam cache key to use opam
1 parent ebd7b1e commit a544ca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ jobs:
152152
# matrix.ocaml_compiler may contain commas
153153
- name: Get OPAM cache key
154154
shell: bash
155-
run: echo "opam_cache_key=opam-env-v7-${{ matrix.os }}-${{ matrix.ocaml_compiler }}-${{ hashFiles('dune-project') }}" | sed 's/,/-/g' >> $GITHUB_ENV
155+
run: echo "opam_cache_key=opam-env-v7-${{ matrix.os }}-${{ matrix.ocaml_compiler }}-${{ hashFiles('/*.opam') }}" | sed 's/,/-/g' >> $GITHUB_ENV
156156

157157
- name: Restore OPAM environment
158158
id: cache-opam-env

0 commit comments

Comments
 (0)