Skip to content

Commit 84f0855

Browse files
authored
Merge pull request #736 from FStarLang/ci-no-shared-cache
CI: do not share OPAM switch cache between fstar1 and fstar2
2 parents d034f1a + f22daa4 commit 84f0855

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ jobs:
4242
key: opam-${{ runner.os }}-${{ runner.arch }}-fstar1-${{ github.run_id }}
4343
restore-keys: |
4444
opam-${{ runner.os }}-${{ runner.arch }}-fstar1-
45-
opam-${{ runner.os }}-${{ runner.arch }}-
4645
4746
# Build F*, from the fstar1 branch.
4847
- run: opam update
@@ -254,17 +253,14 @@ jobs:
254253
with:
255254
ocaml-compiler: 5.3.0
256255

257-
# Note, we prefer to restore the -master cache, but if it doesn't exist,
258-
# we restore the latest normal one.
256+
# Note, this cache is separate from the -fstar1 one.
259257
- name: Restore OPAM state
260258
uses: actions/cache/restore@v4
261259
with:
262-
fail-on-cache-miss: true
263260
path: _opam
264261
key: opam-${{ runner.os }}-${{ runner.arch }}-master-${{ github.run_id }}
265262
restore-keys: |
266263
opam-${{ runner.os }}-${{ runner.arch }}-master-
267-
opam-${{ runner.os }}-${{ runner.arch }}-
268264
269265
# Build F*, master branch
270266
- run: opam update

0 commit comments

Comments
 (0)