Skip to content

Commit

Permalink
Restoring bazel cache from recent job in case of a cache miss
Browse files Browse the repository at this point in the history
Signed-off-by: Evgeny Petrov <evgeny@epetrov.net>
  • Loading branch information
golovasteek committed May 26, 2024
1 parent 5a6633a commit 78a2fb0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/bazel_build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ jobs:
uses: actions/cache@v3
with:
path: "~/.cache/bazel"
key: ${{ runner.os }}-bazel-${{ hashFiles('.bazelversion', '.bazelrc', 'WORKSPACE.bazel', 'third-party/bazel/*') }}
key: ${{ runner.os }}-bazel-${{ hashFiles('dependencies.yaml', '.bazelversion', '.bazelrc', 'WORKSPACE.bazel', 'third-party/bazel/*') }}
restore-keys:
- ${{ runner.os }}-bazel-
- name: Setup edm
run: |
pip install git+https://github.com/Qwello/everest-dev-environment.git@add_bazel_deps_generation#subdirectory=dependency_manager
Expand Down

0 comments on commit 78a2fb0

Please sign in to comment.