Skip to content

Commit 46d0fd5

Browse files
ci: Try fix GitHub Actions caching? (#61)
1 parent a793cf0 commit 46d0fd5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ jobs:
2323
uses: actions/cache@v3
2424
with:
2525
path: ~/.cache/bazel
26-
key: bazel
26+
key: bazel-${{ env.GITHUB_REF_NAME }}-${{ env.GITHUB_SHA }}
27+
restore-keys: |
28+
bazel-${{ env.GITHUB_REF_NAME }}-${{ env.GITHUB_SHA }}
29+
bazel-${{ env.GITHUB_REF_NAME }}-
30+
bazel-
2731
- name: Test
2832
run: bazel test //test/scip --explain log --verbose_explanations --test_output=errors --config=dbg
2933
- name: Print bazel log

0 commit comments

Comments
 (0)