Skip to content

Commit

Permalink
Remove bazel cache
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeli0 committed Jan 4, 2023
1 parent d0d720a commit acf9de6
Showing 1 changed file with 0 additions and 56 deletions.
56 changes: 0 additions & 56 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,6 @@ jobs:
mvn install --batch-mode --no-transfer-progress -Dcheckstyle.skip \
-Dfmt.skip
- run: bazelisk version
- name: Bazel File Cache Setup
id: cache-bazel
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: Integration Tests
run: |
bazel --batch test //test/integration/...
Expand Down Expand Up @@ -134,24 +115,6 @@ jobs:
mvn -B -ntp install --projects 'gapic-generator-java' \
-Dcheckstyle.skip -Dfmt.skip
- run: bazelisk version
- name: Bazel File Cache Setup
id: cache-bazel
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: Integration Tests
run: |
bazelisk --batch test //test/integration/...
Expand Down Expand Up @@ -201,25 +164,6 @@ jobs:
java-version: ${{ matrix.java }}
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: Install maven modules
run: |
mvn install -B -ntp -DskipTests -Dclirr.skip -Dcheckstyle.skip
Expand Down

0 comments on commit acf9de6

Please sign in to comment.