File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -81,10 +81,13 @@ printf "%10s %s\n" "brew:" "$(brew --version 2>&1 | head -1)"
8181printf " %10s %s\n" " branch:" " ${BRANCH} "
8282
8383io::log_h2 " Brew packages"
84+ export HOMEBREW_CURL_RETRIES=3
8485export HOMEBREW_NO_AUTO_UPDATE=1
8586export HOMEBREW_NO_INSTALL_CLEANUP=1
86- brew list --versions --formula
87- brew list --versions --cask
87+ brew list --versions --formula || io::log_yellow \
88+ " brew list --formula failed. Trusting Homebrew's fallback and continuing."
89+ brew list --versions --cask || io::log_yellow \
90+ " brew list --cask failed. Trusting Homebrew's fallback and continuing."
8891brew list --versions coreutils || brew install coreutils
8992if [[ " ${RUNNING_CI:- } " = " yes" ]]; then
9093 # We use `gcloud alpha storage` as it significantly improves the
You can’t perform that action at this time.
0 commit comments