This is an automated email from the ASF dual-hosted git repository.

kszucs pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 56b72c0  ARROW-9592: [CI] Update homebrew before calling brew bundle
56b72c0 is described below

commit 56b72c0aa99909e6d6e5fe26caa3bfd2f9ae05ea
Author: Krisztián Szűcs <[email protected]>
AuthorDate: Wed Jul 29 11:55:57 2020 +0200

    ARROW-9592: [CI] Update homebrew before calling brew bundle
    
    Closes #7855 from kszucs/macos-brew
    
    Authored-by: Krisztián Szűcs <[email protected]>
    Signed-off-by: Krisztián Szűcs <[email protected]>
---
 .github/workflows/cpp.yml    | 4 +++-
 .github/workflows/python.yml | 1 +
 .github/workflows/ruby.yml   | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml
index 0937079..716824e 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 52d476d..84c5bb6 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 46455f3..783ca91 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

Reply via email to