Skip to content

Commit 54a246f

Browse files
committed
Revert "Disable bazel cache"
This reverts commit d0d720a.
1 parent 9275fea commit 54a246f

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

.github/workflows/ci.yaml

+17-17
Original file line numberDiff line numberDiff line change
@@ -202,23 +202,23 @@ jobs:
202202
distribution: temurin
203203
- run: java -version
204204

205-
# - name: Bazel File Cache Setup
206-
# uses: actions/cache@v3
207-
# with:
208-
# path: ~/.cache/bazel
209-
# key: ${{ runner.os }}-${{ hashFiles('WORKSPACE') }}
210-
# restore-keys: ${{ runner.os }}-
211-
# - name: Bazel Cache Not Found
212-
# if: steps.cache-bazel.outputs.cache-hit != 'true'
213-
# run: |
214-
# echo "No cache found."
215-
# - name: Bazel Cache Found
216-
# if: steps.cache-bazel.outputs.cache-hit == 'true'
217-
# run: |
218-
# echo -n "Cache found. Cache size: "
219-
# du -sh ~/.cache/bazel
220-
# echo "If the cache seems broken, update the root WORKSPACE file with a trivial change."
221-
# echo "The old cache will disappear after 7 days."
205+
- name: Bazel File Cache Setup
206+
uses: actions/cache@v3
207+
with:
208+
path: ~/.cache/bazel
209+
key: ${{ runner.os }}-${{ hashFiles('WORKSPACE') }}
210+
restore-keys: ${{ runner.os }}-
211+
- name: Bazel Cache Not Found
212+
if: steps.cache-bazel.outputs.cache-hit != 'true'
213+
run: |
214+
echo "No cache found."
215+
- name: Bazel Cache Found
216+
if: steps.cache-bazel.outputs.cache-hit == 'true'
217+
run: |
218+
echo -n "Cache found. Cache size: "
219+
du -sh ~/.cache/bazel
220+
echo "If the cache seems broken, update the root WORKSPACE file with a trivial change."
221+
echo "The old cache will disappear after 7 days."
222222
223223
- name: Install maven modules
224224
run: |

0 commit comments

Comments
 (0)