diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cef6cea..b1a4a63 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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" @@ -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' diff --git a/pyproject.toml b/pyproject.toml index 3fc9089..8c7f38c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -69,6 +69,7 @@ build = [ "cp312-*", "pp38-*", "pp39-*", + "pp310-*", ] [tool.cibuildwheel.linux] @@ -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" }