Skip to content

Commit 3dc2169

Browse files
committed
reorder cache keys
1 parent abffc75 commit 3dc2169

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build_and_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
path: |
2121
~/.cache/bazel
2222
# add import_llvm.bzl so that a new build occurs after an LLVM commit hash update
23-
key: ${{ runner.os }}-bazel-${{ hashFiles('.bazelversion', '.bazelrc', 'WORKSPACE') }}-${{ hashFiles('bazel/import_llvm.bzl') }}
23+
key: ${{ runner.os }}-bazel-${{ hashFiles('bazel/import_llvm.bzl') }}-${{ hashFiles('.bazelversion', '.bazelrc', 'WORKSPACE') }}
2424
restore-keys: |
25-
${{ runner.os }}-bazel-${{ hashFiles('.bazelversion', '.bazelrc', 'WORKSPACE') }}-
25+
${{ runner.os }}-bazel-${{ hashFiles('bazel/import_llvm.bzl') }}
2626
2727
- name: "Run `bazel build`"
2828
run: |

0 commit comments

Comments
 (0)