Skip to content

Commit

Permalink
Disable bazel cache
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeli0 committed Jan 4, 2023
1 parent cd1cc61 commit d0d720a
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,23 +202,23 @@ jobs:
distribution: temurin
- run: java -version

- name: Bazel File Cache Setup
uses: actions/cache@v3
with:
path: ~/.cache/bazel
key: ${{ runner.os }}-${{ hashFiles('WORKSPACE') }}
restore-keys: ${{ runner.os }}-
- name: Bazel Cache Not Found
if: steps.cache-bazel.outputs.cache-hit != 'true'
run: |
echo "No cache found."
- name: Bazel Cache Found
if: steps.cache-bazel.outputs.cache-hit == 'true'
run: |
echo -n "Cache found. Cache size: "
du -sh ~/.cache/bazel
echo "If the cache seems broken, update the root WORKSPACE file with a trivial change."
echo "The old cache will disappear after 7 days."
# - name: Bazel File Cache Setup
# uses: actions/cache@v3
# with:
# path: ~/.cache/bazel
# key: ${{ runner.os }}-${{ hashFiles('WORKSPACE') }}
# restore-keys: ${{ runner.os }}-
# - name: Bazel Cache Not Found
# if: steps.cache-bazel.outputs.cache-hit != 'true'
# run: |
# echo "No cache found."
# - name: Bazel Cache Found
# if: steps.cache-bazel.outputs.cache-hit == 'true'
# run: |
# echo -n "Cache found. Cache size: "
# du -sh ~/.cache/bazel
# echo "If the cache seems broken, update the root WORKSPACE file with a trivial change."
# echo "The old cache will disappear after 7 days."

- name: Install maven modules
run: |
Expand Down

0 comments on commit d0d720a

Please sign in to comment.