Skip to content

Commit

Permalink
GH-36402: [CI][macOS] Ignore brew update failure (#36403)
Browse files Browse the repository at this point in the history
### Rationale for this change

It's better that we always use the latest Homebrew formulae but it sometimes fails. It's better that we run our tests with old Homebrew formulae than our CI jobs entirely failed.

### What changes are included in this PR?

Ignore `brew update` failure.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: #36402

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
  • Loading branch information
kou committed Jun 30, 2023
1 parent 9d92ed4 commit 4e42b83
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ jobs:
rm -f /usr/local/bin/pydoc3* || :
rm -f /usr/local/bin/python3* || :
rm -f /usr/local/bin/python3-config || :
brew update --preinstall
brew update --preinstall || :
brew bundle --file=cpp/Brewfile
- name: Install MinIO
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ jobs:
rm -f /usr/local/bin/pydoc3* || :
rm -f /usr/local/bin/python3* || :
rm -f /usr/local/bin/python3-config || :
brew update --preinstall
brew update --preinstall || :
brew install --overwrite git
brew bundle --file=cpp/Brewfile
brew install coreutils
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ jobs:
rm -f /usr/local/bin/pydoc3* || :
rm -f /usr/local/bin/python3* || :
rm -f /usr/local/bin/python3-config || :
brew update --preinstall
brew update --preinstall || :
brew install --overwrite git
brew bundle --file=cpp/Brewfile
brew bundle --file=c_glib/Brewfile
Expand Down

0 comments on commit 4e42b83

Please sign in to comment.