@@ -101,7 +101,7 @@ jobs:
101101 packages : write
102102 steps :
103103 - name : Download source archive
104- uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3 .0
104+ uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0 .0
105105 with :
106106 name : release-source
107107 - name : Extract source archive
@@ -133,13 +133,13 @@ jobs:
133133 with :
134134 repository : apache/parquet-testing
135135 path : arrow/cpp/submodules/parquet-testing
136- - uses : docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4 .0
136+ - uses : docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6 .0
137137 with :
138138 registry : ghcr.io
139139 username : ${{ github.actor }}
140140 password : ${{ secrets.GITHUB_TOKEN }}
141141 - name : Cache
142- uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
142+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
143143 with :
144144 path : .docker
145145 key : jni-linux-${{ matrix.platform.arch }}-${{ hashFiles('arrow/cpp/**') }}
@@ -168,13 +168,13 @@ jobs:
168168 fail-fast : false
169169 matrix :
170170 platform :
171- - { runs_on: macos-13 , arch: "x86_64"}
171+ - { runs_on: macos-15-intel , arch: "x86_64"}
172172 - { runs_on: macos-14, arch: "aarch_64" }
173173 env :
174174 MACOSX_DEPLOYMENT_TARGET : " 14.0"
175175 steps :
176176 - name : Download source archive
177- uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3 .0
177+ uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0 .0
178178 with :
179179 name : release-source
180180 - name : Extract source archive
@@ -201,7 +201,7 @@ jobs:
201201 repository : apache/parquet-testing
202202 path : arrow/cpp/submodules/parquet-testing
203203 - name : Set up Python
204- uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
204+ uses : actions/setup-python@v6
205205 with :
206206 cache : ' pip'
207207 python-version : 3.12
@@ -222,7 +222,7 @@ jobs:
222222 brew uninstall llvm || :
223223
224224 # We can remove this when we drop support for
225- # macos-13 . because macos-14 or later uses /opt/homebrew/
225+ # macos-15-intel . because macos-14 or later with arm64 uses /opt/homebrew/
226226 # not /usr/local/.
227227 #
228228 # Ensure updating python@XXX with the "--overwrite" option.
@@ -270,7 +270,7 @@ jobs:
270270 run : |
271271 echo "CCACHE_DIR=${PWD}/ccache" >> ${GITHUB_ENV}
272272 - name : Cache ccache
273- uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
273+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
274274 with :
275275 path : ccache
276276 key : jni-macos-${{ matrix.platform.arch }}-${{ hashFiles('arrow/cpp/**') }}
@@ -298,30 +298,36 @@ jobs:
298298 fail-fast : false
299299 matrix :
300300 platform :
301- - runs_on : windows-2019
301+ - runs_on : windows-2022
302302 arch : " x86_64"
303303 steps :
304304 - name : Download source archive
305- uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3 .0
305+ uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0 .0
306306 with :
307307 name : release-source
308308 - name : Extract source archive
309309 shell : bash
310310 run : |
311311 tar -xf apache-arrow-java-*.tar.gz --strip-components=1
312- - name : Download the latest Apache Arrow C++
313- if : github.event_name != 'schedule'
314- shell : bash
315- run : |
316- ci/scripts/download_cpp.sh
312+ # We always use the main branch for apache/arrow for now.
313+ # Because we want to use
314+ # https://github.com/apache/arrow/pull/47749 in
315+ # apache/arrow-java. We can revert this workaround once Apache
316+ # Arrow 22.0.0 that includes the change released.
317+ #
318+ # - name: Download the latest Apache Arrow C++
319+ # if: github.event_name != 'schedule'
320+ # shell: bash
321+ # run: |
322+ # ci/scripts/download_cpp.sh
317323 - name : Checkout Apache Arrow C++
318- if : github.event_name == 'schedule'
324+ # if: github.event_name == 'schedule'
319325 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
320326 with :
321327 repository : apache/arrow
322328 path : arrow
323329 - name : Set up Java
324- uses : actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
330+ uses : actions/setup-java@v5
325331 with :
326332 java-version : ' 11'
327333 distribution : ' temurin'
@@ -346,15 +352,15 @@ jobs:
346352 run : |
347353 echo "CCACHE_DIR=${PWD}/ccache" >> ${GITHUB_ENV}
348354 - name : Cache ccache
349- uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
355+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
350356 with :
351357 path : ccache
352358 key : jni-windows-${{ matrix.platform.arch }}-${{ hashFiles('arrow/cpp/**') }}
353359 restore-keys : jni-windows-${{ matrix.platform.arch }}-
354360 - name : Build
355361 shell : cmd
356362 run : |
357- call "C:\Program Files (x86) \Microsoft Visual Studio\2019 \Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
363+ call "C:\Program Files\Microsoft Visual Studio\2022 \Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
358364 REM For ORC
359365 set TZDIR=/c/msys64/usr/share/zoneinfo
360366 bash -c "ci/scripts/jni_windows_build.sh . arrow build jni"
@@ -375,7 +381,7 @@ jobs:
375381 - jni-windows
376382 steps :
377383 - name : Download artifacts
378- uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3 .0
384+ uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0 .0
379385 with :
380386 path : artifacts
381387 - name : Decompress artifacts
@@ -420,7 +426,7 @@ jobs:
420426 repository : apache/arrow-testing
421427 path : testing
422428 - name : Cache ~/.m2
423- uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
429+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
424430 with :
425431 path : ~/.m2
426432 key : binaries-build-${{ hashFiles('**/*.java', '**/pom.xml') }}
@@ -452,15 +458,15 @@ jobs:
452458 contents : read
453459 packages : write
454460 steps :
455- - uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
461+ - uses : actions/setup-python@v6
456462 with :
457463 cache : ' pip'
458464 - name : Download source archive
459- uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3 .0
465+ uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0 .0
460466 with :
461467 name : release-source
462468 - name : Download Javadocs
463- uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3 .0
469+ uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0 .0
464470 with :
465471 name : reference
466472 - name : Extract source archive
@@ -525,7 +531,7 @@ jobs:
525531 cp ../.asf.yaml ./
526532 git add .nojekyll .asf.yaml
527533 - name : Download
528- uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3 .0
534+ uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0 .0
529535 with :
530536 name : release-html
531537 - name : Extract
@@ -561,7 +567,7 @@ jobs:
561567 - ubuntu-latest
562568 steps :
563569 - name : Download release artifacts
564- uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3 .0
570+ uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0 .0
565571 with :
566572 pattern : release-*
567573 - name : Verify
@@ -595,7 +601,7 @@ jobs:
595601 contents : write
596602 steps :
597603 - name : Download release artifacts
598- uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3 .0
604+ uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0 .0
599605 with :
600606 pattern : release-*
601607 path : artifacts
0 commit comments