diff --git a/.github/workflows/build_and_publish.yml b/.github/workflows/build_and_publish.yml index 1f7db487..1990e840 100644 --- a/.github/workflows/build_and_publish.yml +++ b/.github/workflows/build_and_publish.yml @@ -8,12 +8,10 @@ jobs: build_wheels: name: Build wheels on ${{ matrix.os }} runs-on: ${{ matrix.os }} - env: - CIBW_ARCHS_MACOS: "x86_64 arm64" strategy: matrix: - os: [ubuntu-24.04, windows-2025, macos-15] + os: [ubuntu-24.04, ubuntu-24.04-arm, windows-2025, macos-15-intel, macos-15] steps: - uses: actions/checkout@v6 @@ -24,9 +22,9 @@ jobs: - name: Build wheels uses: pypa/cibuildwheel@v3.3.0 - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v6 with: - name: artifact-${{ matrix.os }} + name: artifact-${{ matrix.os }}-${{ strategy.job-index }} path: ./wheelhouse/*.whl build_sdist: @@ -41,7 +39,7 @@ jobs: - name: Build sdist run: pipx run build --sdist - - uses: actions/upload-artifact@v7 + - uses: actions/upload-artifact@v6 with: name: artifact-sdist path: dist/*.tar.gz @@ -54,7 +52,7 @@ jobs: # alternatively, to publish when a GitHub Release is created, use the following rule: if: github.event_name == 'release' && github.event.action == 'published' steps: - - uses: actions/download-artifact@v7 + - uses: actions/download-artifact@v6 with: pattern: artifact-* path: dist