Skip to content

Commit

Permalink
reorder cache keys
Browse files Browse the repository at this point in the history
  • Loading branch information
j2kun committed Oct 28, 2023
1 parent abffc75 commit 3dc2169
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
path: |
~/.cache/bazel
# add import_llvm.bzl so that a new build occurs after an LLVM commit hash update
key: ${{ runner.os }}-bazel-${{ hashFiles('.bazelversion', '.bazelrc', 'WORKSPACE') }}-${{ hashFiles('bazel/import_llvm.bzl') }}
key: ${{ runner.os }}-bazel-${{ hashFiles('bazel/import_llvm.bzl') }}-${{ hashFiles('.bazelversion', '.bazelrc', 'WORKSPACE') }}
restore-keys: |
${{ runner.os }}-bazel-${{ hashFiles('.bazelversion', '.bazelrc', 'WORKSPACE') }}-
${{ runner.os }}-bazel-${{ hashFiles('bazel/import_llvm.bzl') }}
- name: "Run `bazel build`"
run: |
Expand Down

0 comments on commit 3dc2169

Please sign in to comment.