Skip to content

Commit

Permalink
Revert "Disable bazel cache"
Browse files Browse the repository at this point in the history
This reverts commit d0d720a.
  • Loading branch information
burkedavison committed Jan 4, 2023
1 parent 9275fea commit 54a246f
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 54a246f

Please sign in to comment.