Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: sdist
path: dist/*.tar.gz
compression-level: 0
if-no-files-found: error


build_wheels:
Expand All @@ -42,13 +45,15 @@ jobs:
include:
- os: ubuntu-latest
arch_linux: "aarch64"
extra: "- aarch64"
extra: " - aarch64"
artifact-extra: "-aarch64"
- os: ubuntu-latest
arch_linux: "ppc64le"
extra: " - ppc64le"
artifact-extra: "-ppc64le"
- os: ubuntu-latest
arch_linux: "s390x"
extra: " - s390x"
artifact-extra: "-s390x"
steps:
- uses: actions/checkout@v4
Expand All @@ -75,10 +80,12 @@ jobs:
with:
name: wheel-${{ matrix.os }}${{ matrix.artifact-extra }}
path: wheelhouse/*.whl
compression-level: 0
if-no-files-found: error


upload_all:
name: Upload if release
name: Upload release
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
Expand All @@ -90,8 +97,8 @@ jobs:

- uses: actions/download-artifact@v4
with:
name: artifact
path: dist
merge-multiple: true

- uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down
Loading