From db1bb51686017c5f65a086326aa518b6a39cf36c Mon Sep 17 00:00:00 2001 From: "Travis A. O'Brien" <obrienta@iu.edu> Date: Wed, 11 Sep 2024 07:00:06 -0400 Subject: [PATCH] Fix wheel building * Fix mutability bug in upload-artifact * Workaround for universal2, python3.13 build bug: build for arm64 instead --- .github/workflows/wheels.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 9fa3513..18d00d2 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -60,11 +60,11 @@ jobs: build_arch_wheels: - name: ${{ matrix.python }} on ${{ matrix.arch }} + name: ${{ matrix.python }}-${{ matrix.arch }} runs-on: ubuntu-24.04 strategy: matrix: - python: [39, 310, 311, 312] + python: [39, 310, 311, 312, 313] arch: [aarch64] steps: @@ -94,6 +94,7 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@v4 with: + name: arch-wheels-${{ matrix.python }}-${{ matrix.arch }} path: wheelhouse/*.whl build_wheels: @@ -102,12 +103,12 @@ jobs: strategy: fail-fast: false matrix: - os: [windows-2019, macos-latest, ubuntu-latest] + os: [windows-latest, macos-latest, ubuntu-latest] arch: [auto64] include: - os: macos-latest - arch: universal2 + arch: arm64 steps: - uses: actions/checkout@v4 @@ -132,6 +133,7 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@v4 with: + name: wheels-${{ matrix.os }}-${{ matrix.arch }} path: wheelhouse/*.whl upload_all: @@ -142,7 +144,8 @@ jobs: steps: - uses: actions/download-artifact@v4.1.7 with: - name: artifact + name: artifact-* + merge-multiple: true path: dist - name: List all files