File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 - uses : actions/upload-artifact@v4
2121 with :
2222 name : cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
23- path : ./wheelhouse/*.whl
23+ path : ./wheelhouse/*.whl
24+
25+ build_sdist :
26+ name : Make SDist
27+ runs-on : ubuntu-latest
28+ steps :
29+ - uses : actions/checkout@v4
30+ with :
31+ fetch-depth : 0 # Optional, use if you use setuptools_scm
32+ submodules : true # Optional, use if you have submodules
33+
34+ - name : Build SDist
35+ run : pipx run build --sdist
36+
37+ - uses : actions/upload-artifact@v4
38+ with :
39+ name : cibw-sdist
40+ path : dist/*.tar.gz
41+
42+ upload_all :
43+ needs : [ build_wheels, build_sdist ]
44+ environment : pypi
45+ permissions :
46+ id-token : write
47+ runs-on : ubuntu-latest
48+ if : github.event_name == 'release' && github.event.action == 'published'
49+ steps :
50+ - uses : actions/download-artifact@v4
51+ with :
52+ pattern : cibw-*
53+ path : dist
54+ merge-multiple : true
55+
56+ - uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ warn_unused_ignores = true
6969warn_unreachable = true
7070
7171[tool .cibuildwheel ]
72- skip = [" cp38-*" , " cp314- *" ]
72+ skip = [" cp38-*" , " cp314*" ]
7373
7474[tool .cibuildwheel .macos ]
7575archs = [" arm64" ]
You can’t perform that action at this time.
0 commit comments