Skip to content

Apache DataFusion SQL Query Engine

ARROW-9592: [CI] Update homebrew before calling brew bundle

Krisztián Szűcscb233c05b573
diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml
index 0937079a8f..716824ec94 100644
--- a/.github/workflows/cpp.yml
+++ b/.github/workflows/cpp.yml
@@ -218,7 +218,9 @@ jobs:
run: ci/scripts/util_checkout.sh
- name: Install Dependencies
shell: bash
- run: brew bundle --file=cpp/Brewfile
+ run: |
+ brew update --preinstall
+ brew bundle --file=cpp/Brewfile
- name: Build
shell: bash
run: ci/scripts/cpp_build.sh $(pwd) $(pwd)/build
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml
index 52d476ddd5..84c5bb601e 100644
--- a/.github/workflows/python.yml
+++ b/.github/workflows/python.yml
@@ -147,6 +147,7 @@ jobs:
- name: Install Dependencies
shell: bash
run: |
+ brew update --preinstall
brew bundle --file=cpp/Brewfile
brew install coreutils python
pip3 install -r python/requirements-build.txt \
diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml
index 46455f338e..783ca91cb8 100644
--- a/.github/workflows/ruby.yml
+++ b/.github/workflows/ruby.yml
@@ -130,7 +130,7 @@ jobs:
- name: Install Dependencies
shell: bash
run: |
- brew update
+ brew update --preinstall
brew bundle --file=cpp/Brewfile
brew bundle --file=c_glib/Brewfile
bundle install --gemfile c_glib/Gemfile