File tree Expand file tree Collapse file tree 2 files changed +18
-5
lines changed
Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 2020 env :
2121 CIBW_ARCHS : auto64 # Don't build 32 bits wheels
2222 CIBW_SKIP : pp* # Don't build pypy wheels
23- # with:
24- # package-dir: .
25- # output-dir: wheelhouse
26- # config-file: "{package}/pyproject.toml"
27-
2823 - uses : actions/upload-artifact@v4
2924 with :
3025 name : cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
4338 with :
4439 name : cibw-sdist
4540 path : dist/*.tar.gz
41+
42+ upload_pypi :
43+ needs : [build_wheels, build_sdist]
44+ runs-on : ubuntu-latest
45+ environment : release
46+ permissions :
47+ id-token : write
48+ steps :
49+ - uses : actions/download-artifact@v4
50+ with :
51+ # unpacks all CIBW artifacts into dist/
52+ pattern : cibw-*
53+ path : dist
54+ merge-multiple : true
55+
56+ - uses : pypa/gh-action-pypi-publish@release/v1
57+ with :
58+ # To test: repository-url: https://test.pypi.org/legacy/
You can’t perform that action at this time.
0 commit comments