7474 - name : Compress into single artifact to keep directory structure
7575 run : tar -cvzf arrow-shared-libs-linux-{{ arch }}.tar.gz arrow/java-dist/
7676 - name : Upload artifacts
77- uses : actions/upload-artifact@v3
77+ uses : actions/upload-artifact@v4
7878 with :
7979 name : ubuntu-shared-lib-{{ arch }}
8080 path : arrow-shared-libs-linux-{{ arch }}.tar.gz
9393 fail-fast : false
9494 matrix :
9595 platform :
96- - { runs_on: ["macos-12 "], arch: "x86_64"}
96+ - { runs_on: ["macos-13 "], arch: "x86_64"}
9797 env :
98- MACOSX_DEPLOYMENT_TARGET : " 12 .0"
98+ MACOSX_DEPLOYMENT_TARGET : " 13 .0"
9999 steps :
100100 {{ macros.github_checkout_arrow()|indent }}
101101 - name : Set up Python
@@ -138,6 +138,18 @@ jobs:
138138 # used on test We uninstall Homebrew's Protobuf to ensure using
139139 # bundled Protobuf.
140140 brew uninstall protobuf
141+ # fix cmake and boost versions
142+ brew uninstall -f boost || true
143+ brew uninstall -f cmake || true
144+ mkdir -p homebrew-custom/Formula
145+ curl -o homebrew-custom/Formula/cmake.rb https://raw.githubusercontent.com/Homebrew/homebrew-core/f68532bfe5cb87474093df8a839c3818c6aa44dd/Formula/c/cmake.rb
146+ curl -o homebrew-custom/Formula/boost.rb https://raw.githubusercontent.com/Homebrew/homebrew-core/23f9c56c5075dd56b4471e2c93f89f6400b49ddd/Formula/b/boost.rb
147+ brew install -v ./homebrew-custom/Formula/cmake.rb
148+ brew install -v ./homebrew-custom/Formula/boost.rb
149+ brew pin cmake
150+ brew pin boost
151+ #
152+
141153
142154 brew bundle --file=arrow/java/Brewfile
143155 - name : Build C++ libraries
@@ -154,7 +166,7 @@ jobs:
154166 - name : Compress into single artifact to keep directory structure
155167 run : tar -cvzf arrow-shared-libs-macos-{{ arch }}.tar.gz arrow/java-dist/
156168 - name : Upload artifacts
157- uses : actions/upload-artifact@v3
169+ uses : actions/upload-artifact@v4
158170 with :
159171 name : macos-shared-lib-{{ arch }}
160172 path : arrow-shared-libs-macos-{{ arch }}.tar.gz
@@ -188,22 +200,22 @@ jobs:
188200 shell : bash
189201 run : tar -cvzf arrow-shared-libs-windows.tar.gz arrow/java-dist/
190202 - name : Upload artifacts
191- uses : actions/upload-artifact@v3
203+ uses : actions/upload-artifact@v4
192204 with :
193205 name : windows-shared-lib
194206 path : arrow-shared-libs-windows.tar.gz
195207
196208 package-jars :
197209 name : Build jar files
198- runs-on : macos-12
210+ runs-on : macos-13
199211 needs :
200212 - build-cpp-ubuntu
201213 - build-cpp-macos
202214 - build-cpp-windows
203215 steps :
204216 {{ macros.github_checkout_arrow(fetch_depth=0)|indent }}
205217 - name : Download Libraries
206- uses : actions/download-artifact@v3
218+ uses : actions/download-artifact@v4
207219 with :
208220 path : artifacts
209221 - name : Decompress artifacts
0 commit comments