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:
50
50
upload_pypi :
51
51
needs : [build_wheels, build_sdist]
52
52
runs-on : ubuntu-latest
53
- environment : pypi
53
+ environment :
54
+ name : pypi
55
+ url : https://pypi.org/p/radius-clustering
54
56
permissions :
55
57
id-token : write
58
+ attestations : write
56
59
# if: github.event_name == 'release' && github.event.action == 'published'
57
60
# or, alternatively, upload to PyPI on every tag starting with 'v' (remove on: release above to use this)
58
61
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
59
62
steps :
60
- - uses : actions/download-artifact@v4
63
+ - name : Download all dists
64
+ uses : actions/download-artifact@v4
61
65
with :
62
66
# unpacks all CIBW artifacts into dist/
63
67
pattern : cibw-*
64
- path : dist
68
+ path : dist/
65
69
merge-multiple : true
66
70
67
71
- name : Generate artifact attestations
68
- uses : actions/attest-build-provenance@v1.4.4
72
+ uses : actions/attest-build-provenance@v2
69
73
with :
70
74
subject-path : " dist/*"
71
75
72
- - uses : pypa/gh-action-pypi-publish@release/v1
76
+ - name : Publish Distribution to PyPI
77
+ uses : pypa/gh-action-pypi-publish@release/v1
73
78
# with:
74
79
# To test: repository-url: https://test.pypi.org/legacy/
You can’t perform that action at this time.
0 commit comments