diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7dbc71960e4..183244714c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -139,7 +139,7 @@ jobs: path: | ${{ env.OPAMBSROOT }}/** ~/.cache/opam-local/bin/** - key: opam-${{ runner.os }}-${{ env.OPAMBSVERSION }}-${{ matrix.ocamlv }}-${{ env.OPAM_REPO_SHA }}-${{ hashFiles ('.github/scripts/opam-bs-cache.sh', '.github/scripts/preamble.sh') }} + key: opam-${{ runner.os }}-${{ env.OPAMBSVERSION }}-${{ matrix.ocamlv }}-${{ env.OPAM_REPO_SHA }}-${{ hashFiles ('.github/scripts/opam-bs-cache.sh', '.github/scripts/preamble.sh', '*.opam') }} - name: opam root cache if: steps.opam-bootstrap.outputs.cache-hit != 'true' run: bash -exu .github/scripts/opam-bs-cache.sh