kou commented on code in PR #36487:
URL: https://github.com/apache/arrow/pull/36487#discussion_r1257440079


##########
dev/tasks/java-jars/github.yml:
##########
@@ -22,8 +22,22 @@
 jobs:
 
   build-cpp-ubuntu:
-    name: Build C++ libraries Ubuntu
-    runs-on: ubuntu-latest
+    {% set arch = '${{ matrix.platform.arch }}' %}
+    name: Build C++ libraries Ubuntu {{ arch }}
+    runs-on: {{ '${{ matrix.platform.runs_on }}' }}
+    env:
+      # archery uses these environment variables
+      {% if arch == "x86_64" %}

Review Comment:
   We can't use this here because `arch` is `'${{ matrix.platform.arch }}'`.
   How about adding `archery_arch: amd64` and `archery_arch: arm64v8` to 
`platform` and use `ARCH: ${{ matrix.platform.archery_arch }}`?



-- 
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