File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -58,14 +58,31 @@ jobs:
58
58
# with:
59
59
# path: wheelhouse/*.whl
60
60
61
- upload_all :
61
+ upload_release :
62
62
# needs: [build_wheels, make_sdist]
63
63
needs : [make_sdist]
64
64
environment : release
65
65
permissions :
66
66
id-token : write
67
67
runs-on : ubuntu-latest
68
68
69
+ steps :
70
+ - uses : actions/download-artifact@v4
71
+ with :
72
+ name : artifact
73
+ path : dist
74
+
75
+ - uses : pypa/gh-action-pypi-publish@release/v1
76
+ if : github.event_name == 'release' && github.event.action == 'published'
77
+
78
+ upload_test :
79
+ # needs: [build_wheels, make_sdist]
80
+ needs : [make_sdist]
81
+ environment : testpypi
82
+ permissions :
83
+ id-token : write
84
+ runs-on : ubuntu-latest
85
+
69
86
steps :
70
87
- uses : actions/download-artifact@v4
71
88
with :
77
94
# Remember to tell (test-)pypi about this repo before publishing
78
95
# Remove this line to publish to PyPI
79
96
repository-url : https://test.pypi.org/legacy/
80
-
81
- - uses : pypa/gh-action-pypi-publish@release/v1
82
- if : github.event_name == 'release' && github.event.action == 'published'
You can’t perform that action at this time.
0 commit comments