@@ -41,40 +41,25 @@ jobs:
4141 path : dist/*.tar.gz
4242
4343 build_wheels :
44- needs : [sdist]
45- name : " [${{ strategy.job-index }}/${{ strategy.job-total }}] py${{ matrix.py }} on ${{ matrix.os }}"
44+ name : Build wheels on ${{ matrix.os }}
4645 runs-on : ${{ matrix.os }}
4746 strategy :
48- fail-fast : true
4947 matrix :
50- os : [ubuntu-20.04, windows-2022, macos-11]
51- py : ["cp39", "cp310", "cp311", "cp312", "cp313", "pp39"]
48+ os : [ubuntu-latest, windows-latest, macos-latest]
5249
5350 steps :
54- - uses : actions/checkout@v5
55- with :
56- submodules : true
51+ - uses : actions/checkout@v3
5752
58- - uses : actions/setup-python@v5
59- name : Setting up Python
53+ - name : Build wheels
54+ 6055 with :
61- python-version : ' 3.13'
62-
63- - name : Set up QEMU
64- if : runner.os == 'Linux'
65- uses : docker/setup-qemu-action@v1
66- with :
67- platforms : all
68-
69- - name : Build & test wheels
70- 71- env :
72- CIBW_ARCHS_LINUX : auto aarch64 ppc64le
73- CIBW_BUILD : " ${{ matrix.py }}-*"
56+ config-file : " {package}/pyproject-cibuildwheel.toml"
7457
7558 - uses : actions/upload-artifact@v4
7659 with :
60+ name : wheel-artifact-${{ matrix.os }}
7761 path : ./wheelhouse/*.whl
62+ if-no-files-found : error
7863
7964 upload_all :
8065 needs : [build_wheels, sdist]
8570 with :
8671 name : artifact
8772 path : dist
73+ merge-multiple : true
8874
89- - uses : pypa/gh-action-pypi-publish@v1.4.2
75+ - uses : pypa/gh-action-pypi-publish@v1.5.0
9076 with :
9177 user : ${{ secrets.PYPI_USERNAME }}
9278 password : ${{ secrets.PYPI_PASSWORD }}
0 commit comments