rok commented on code in PR #14472:
URL: https://github.com/apache/arrow/pull/14472#discussion_r1001829984


##########
dev/tasks/java-jars/github.yml:
##########
@@ -117,43 +142,40 @@ jobs:
     name: Build jar files
     runs-on: macos-latest
     needs:
-      - build-cpp-ubuntu
       - build-cpp-macos
+      - build-cpp-ubuntu
       - build-cpp-windows
     steps:
       {{ macros.github_checkout_arrow(fetch_depth=0)|indent }}
-      - name: Download Linux C++ Libraries
-        uses: actions/download-artifact@v2
-        with:
-          name: ubuntu-shared-lib
-      - name: Download macOS C++ libraries
-        uses: actions/download-artifact@v2
-        with:
-          name: macos-shared-lib
-      - name: Download Windows C++ libraries
-        uses: actions/download-artifact@v2
+      - name: Download Libraries
+        uses: actions/download-artifact@v3
         with:
-          name: windows-shared-lib
-      - name: Descompress artifacts
+          path: artifacts
+      - name: Decompress artifacts
         run: |
+          mv artifacts/*/*.tar.gz .
           tar -xvzf arrow-shared-libs-linux.tar.gz
-          tar -xvzf arrow-shared-libs-macos.tar.gz
+          tar -xvzf arrow-shared-libs-macos-x86_64.tar.gz
+          tar -xvzf arrow-shared-libs-macos-aarch_64.tar.gz
           tar -xvzf arrow-shared-libs-windows.tar.gz
       - name: Test that shared libraries exist
         run: |
           set -x

Review Comment:
   ```suggestion
             set -x
             test -f arrow/java-dist/x86_64/libarrow_orc_jni.so
             test -f arrow/java-dist/x86_64/libarrow_cdata_jni.so
             test -f arrow/java-dist/x86_64/libgandiva_jni.so
             test -f arrow/java-dist/x86_64/libarrow_dataset_jni.so
             test -f arrow/java-dist/x86_64/libplasma_java.so
             test -f arrow/java-dist/x86_64/libarrow_cdata_jni.dylib
             test -f arrow/java-dist/x86_64/libplasma_java.dylib
             test -f arrow/java-dist/x86_64/libarrow_dataset_jni.dylib
             test -f arrow/java-dist/x86_64/libgandiva_jni.dylib
             test -f arrow/java-dist/x86_64/libarrow_orc_jni.dylib
             test -f arrow/java-dist/aarch_64/libarrow_cdata_jni.dylib
             test -f arrow/java-dist/aarch_64/libplasma_java.dylib
             test -f arrow/java-dist/aarch_64/libarrow_dataset_jni.dylib
             test -f arrow/java-dist/aarch_64/libgandiva_jni.dylib
             test -f arrow/java-dist/aarch_64/libarrow_orc_jni.dylib
             test -f arrow/java-dist/arrow_cdata_jni.dll
             test -f arrow/java-dist/arrow_dataset_jni.dll
             test -f arrow/java-dist/arrow_orc_jni.dll
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to