Skip to content

Commit 2746fd3

Browse files
committed
doesn't this match ?
1 parent b549a27 commit 2746fd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ jobs:
157157
# matrix.ocaml_compiler may contain commas
158158
- name: Get OPAM cache key
159159
shell: bash
160-
run: echo "opam_cache_key=opam-env-v7-${{ matrix.os }}-${{ matrix.ocaml_compiler }}-${{ hashFiles('*.opam') }}" | sed 's/,/-/g' >> $GITHUB_ENV
160+
run: echo "opam_cache_key=opam-env-v7-${{ matrix.os }}-${{ matrix.ocaml_compiler }}-${{ hashFiles('**/*.opam') }}" | sed 's/,/-/g' >> $GITHUB_ENV
161161

162162
- name: Restore OPAM environment
163163
id: cache-opam-env
@@ -254,7 +254,7 @@ jobs:
254254
id: compiler-build-state-key
255255
shell: bash
256256
run: |
257-
echo "value=compiler-build-state-v1-${{ matrix.os }}-${{ matrix.ocaml_compiler }}-${{ hashFiles('*.opam') }}" \
257+
echo "value=compiler-build-state-v1-${{ matrix.os }}-${{ matrix.ocaml_compiler }}-${{ hashFiles('**/*.opam') }}" \
258258
| sed 's/,/-/g' >> "$GITHUB_OUTPUT"
259259
260260
- name: Restore compiler build state

0 commit comments

Comments
 (0)