Skip to content
Open
Show file tree
Hide file tree
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
17 changes: 14 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
- uses: pypa/cibuildwheel@v2.20.0
- uses: actions/upload-artifact@v4
with:
name: artifact-wheel-${{ matrix.os }}
path: wheelhouse/*.whl
overwrite: true

make_sdist:
runs-on: "ubuntu-latest"
Expand All @@ -54,11 +54,22 @@ jobs:
python -m build --no-isolation --sdist
- uses: actions/upload-artifact@v4
with:
name: artifact-sdist
path: dist/*.tar.gz
overwrite: true

upload_all:
merge:
runs-on: ubuntu-latest
needs: [build_wheels, make_sdist]
steps:
- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4
with:
name: artifact
pattern: artifact-*
delete-merged: true

upload_all:
needs: merge
runs-on: "ubuntu-latest"
environment: release
if: github.event_name == 'release' && github.event.action == 'published'
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ build = [
"cp312-*",
"pp38-*",
"pp39-*",
"pp310-*",
]

[tool.cibuildwheel.linux]
Expand All @@ -84,5 +85,5 @@ archs = ["AMD64"]

# https://github.com/pypy/pypy/issues/5027
[[tool.cibuildwheel.overrides]]
select = "pp39-win_amd64"
select = "pp3{9,10}-win_amd64"
environment = { SETUPTOOLS_USE_DISTUTILS="stdlib" }