Skip to content

Commit

Permalink
update github action for pypi upload
Browse files Browse the repository at this point in the history
  • Loading branch information
jboynyc committed Jan 16, 2024
1 parent 836d087 commit 0f139b5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ jobs:
steps:
- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
with:
platforms: all
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install poetry
run: python -m pip install poetry
- name: Build wheels
uses: pypa/cibuildwheel@v2.13.1
uses: pypa/cibuildwheel@v2.16.2
env:
CIBW_BUILD: cp38-* cp39-* cp310-* cp311-* pp38-* pp39-*
CIBW_BUILD: cp38-* cp39-* cp310-* cp311-* cp312-* pp38-* pp39-* pp310-*
CIBW_ARCHS_LINUX: "auto aarch64"
CIBW_ARCHS_MACOS: "arm64" # removed x86_64 to avoid AlreadyBuiltWheelError
- uses: actions/upload-artifact@v3
Expand All @@ -39,12 +39,12 @@ jobs:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install poetry
run: python -m pip install poetry
- name: Build sdist
run: poetry build --format=sdist
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: ./dist/*.tar.gz

Expand All @@ -53,7 +53,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Gather build artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: artifact
path: dist
Expand Down

0 comments on commit 0f139b5

Please sign in to comment.