From 5d52cc93757eae76b99e709f139ea792dd9278db Mon Sep 17 00:00:00 2001 From: Varun Gandhi Date: Mon, 8 Aug 2022 23:53:49 +0800 Subject: [PATCH] ci: Try fix GitHub Actions caching? --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ebe1e974e6..33e21e0ffa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,11 @@ jobs: uses: actions/cache@v3 with: path: ~/.cache/bazel - key: bazel + key: bazel-${{ env.GITHUB_REF_NAME }}-${{ env.GITHUB_SHA }} + restore-keys: | + bazel-${{ env.GITHUB_REF_NAME }}-${{ env.GITHUB_SHA }} + bazel-${{ env.GITHUB_REF_NAME }}- + bazel- - name: Test run: bazel test //test/scip --explain log --verbose_explanations --test_output=errors --config=dbg - name: Print bazel log