Skip to content

Commit

Permalink
chore: remove stale bazelisk cache (#7744)
Browse files Browse the repository at this point in the history
* chore: remove stale bazelisk cache
  • Loading branch information
scotthart authored Dec 15, 2021
1 parent 023e2a5 commit eeb02b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ci/kokoro/macos/builds/bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ source module ci/lib/io.sh
io::log_h2 "Using bazel version"
: "${USE_BAZEL_VERSION:="3.5.0"}"
export USE_BAZEL_VERSION
bazelisk version
bazelisk version || rm -fr "$HOME"/Library/Caches/bazelisk || bazelisk version

bazel_args=(
# On macOS gRPC does not compile correctly unless one defines this:
Expand Down
2 changes: 1 addition & 1 deletion ci/kokoro/macos/builds/quickstart-bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ source module ci/lib/io.sh
io::log_h2 "Using bazel version"
: "${USE_BAZEL_VERSION:="3.5.0"}"
export USE_BAZEL_VERSION
bazelisk version
bazelisk version || rm -fr "$HOME"/Library/Caches/bazelisk || bazelisk version
# Kokoro needs bazel to be shutdown here, otherwise it will hang. This shutdown
# is different (because it's in a different WORKSPACE) than the shutdown below
# that's done in each quickstart workspace.
Expand Down

0 comments on commit eeb02b9

Please sign in to comment.