Skip to content

Commit

Permalink
Merge pull request #1372 from GoogleContainerTools/ci-cache-fix
Browse files Browse the repository at this point in the history
Maybe fix caching issue in ci
  • Loading branch information
loosebazooka authored Aug 10, 2023
2 parents 8436455 + 2d94bbb commit f7b836b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
with:
path: |
~/.cache/bazel-repo
key: bazel-cache-deps-${{ hashFiles('**/BUILD.bazel', '**/*.bzl', '**/*.yaml', 'WORKSPACE') }}-${{ github.sha }}
key: bazel-cache-deps-ci1-${{ github.sha }}
restore-keys: |
bazel-cache-deps-
bazel-cache-deps-ci1-${{ github.sha }}
bazel-cache-deps-ci1-
- name: Free space
run: |
sudo apt-get remove -y '^dotnet-.*'
Expand Down Expand Up @@ -53,9 +54,10 @@ jobs:
with:
path: |
~/.cache/bazel-repo
key: bazel-cache-deps-${{ hashFiles('**/BUILD.bazel', '**/*.bzl', '**/*.yaml', 'WORKSPACE') }}-${{ github.sha }}
key: bazel-cache-deps-ci2-${{ github.sha }}
restore-keys: |
bazel-cache-deps-
bazel-cache-deps-ci2-${{ github.sha }}
bazel-cache-deps-ci2-
- name: Free space
run: |
sudo apt-get remove -y '^dotnet-.*'
Expand Down

0 comments on commit f7b836b

Please sign in to comment.