Skip to content

Commit

Permalink
Discard existing Bazel cache for Github build
Browse files Browse the repository at this point in the history
There seems to be a Bazel issue which can be resolved by expunging the
cache: bazelbuild/bazel#9213
  • Loading branch information
antoninbas committed Mar 5, 2021
1 parent c65fe2e commit 4636c24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bazel-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
path: "~/.cache/bazel"
# Create a new cache entry whenever Bazel files change.
# See https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
key: ${{ runner.os }}-build-${{ hashFiles('**/*.bzl', '**/*.bazel') }}
key: bazel-${{ runner.os }}-build-${{ hashFiles('**/*.bzl', '**/*.bazel') }}
restore-keys: |
${{ runner.os }}-build-
bazel-${{ runner.os }}-build-
- name: Install bazelisk
run: |
Expand Down

0 comments on commit 4636c24

Please sign in to comment.