File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -50,25 +50,30 @@ jobs:
5050 upload_pypi :
5151 needs : [build_wheels, build_sdist]
5252 runs-on : ubuntu-latest
53- environment : pypi
53+ environment :
54+ name : pypi
55+ url : https://pypi.org/p/radius-clustering
5456 permissions :
5557 id-token : write
58+ attestations : write
5659 # if: github.event_name == 'release' && github.event.action == 'published'
5760 # or, alternatively, upload to PyPI on every tag starting with 'v' (remove on: release above to use this)
5861 # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
5962 steps :
60- - uses : actions/download-artifact@v4
63+ - name : Download all dists
64+ uses : actions/download-artifact@v4
6165 with :
6266 # unpacks all CIBW artifacts into dist/
6367 pattern : cibw-*
64- path : dist
68+ path : dist/
6569 merge-multiple : true
6670
6771 - name : Generate artifact attestations
68- uses : actions/attest-build-provenance@v1.4.4
72+ uses : actions/attest-build-provenance@v2
6973 with :
7074 subject-path : " dist/*"
7175
72- - uses : pypa/gh-action-pypi-publish@release/v1
76+ - name : Publish Distribution to PyPI
77+ uses : pypa/gh-action-pypi-publish@release/v1
7378 # with:
7479 # To test: repository-url: https://test.pypi.org/legacy/
You can’t perform that action at this time.
0 commit comments