From d4511a5f9c7f1564c1d959199491b52df96f7d1a Mon Sep 17 00:00:00 2001 From: David Allsopp Date: Mon, 24 May 2021 21:54:29 +0100 Subject: [PATCH] Bootstrap cache should depend on opam files --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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