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

damccorm pushed a commit to branch users/damccorm/arch_wheels
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 14d9ab2913e8da5ac3fb33c1a01ff971a48be7f2
Author: Danny McCormick <[email protected]>
AuthorDate: Tue Dec 19 11:46:41 2023 -0500

    Build and publish arch wheels separately from main wheels
---
 .github/workflows/build_wheels.yml | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/build_wheels.yml 
b/.github/workflows/build_wheels.yml
index 85ed7c0686c..0ff49148d8b 100644
--- a/.github/workflows/build_wheels.yml
+++ b/.github/workflows/build_wheels.yml
@@ -280,7 +280,7 @@ jobs:
     - name: Upload wheels as artifacts
       uses: actions/upload-artifact@v4
       with:
-        name: wheelhouse-${{ matrix.os_python.os }}
+        name: wheelhouse-${{ matrix.os_python.os }}${{ (matrix.arch == 
'aarch64' && '-arch') || '' }}
         path: apache-beam-source/wheelhouse/
     - name: Build RC wheels
       if: ${{ needs.build_source.outputs.is_rc == 1 }}
@@ -305,7 +305,7 @@ jobs:
       if: ${{ needs.build_source.outputs.is_rc == 1 }}
       uses: actions/upload-artifact@v4
       with:
-        name: wheelhouse-rc${{ needs.build_source.outputs.rc_num }}-${{ 
matrix.os_python.os }}
+        name: wheelhouse-rc${{ needs.build_source.outputs.rc_num }}-${{ 
matrix.os_python.os }}${{ (matrix.arch == 'aarch64' && '-arch') || '' }}
         path: apache-beam-source-rc/wheelhouse/
 
   upload_wheels_to_gcs:
@@ -318,11 +318,15 @@ jobs:
     strategy:
       matrix:
         os : [ubuntu-latest, macos-latest, windows-latest]
+        arch: [auto]
+        include:
+          - os: "ubuntu-latest"
+            arch: aarch64
     steps:
     - name: Download wheels from artifacts
       uses: actions/download-artifact@v4
       with:
-        name: wheelhouse-${{ matrix.os }}
+        name: wheelhouse-${{ matrix.os }}${{ (matrix.arch == 'aarch64' && 
'-arch') || '' }}
         path: wheelhouse/
     - name: Authenticate on GCP
       uses: google-github-actions/setup-gcloud@v0

Reply via email to