File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -220,6 +220,9 @@ jobs:
220
220
set_upload_vars
221
221
upload_wheels
222
222
223
+ # ###############################################
224
+ # Publish Wheels and Source Distribution to PyPI
225
+ # ###############################################
223
226
publish :
224
227
if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
225
228
needs :
@@ -228,7 +231,7 @@ jobs:
228
231
runs-on : ubuntu-latest
229
232
230
233
environment :
231
- name : pypi # ← enable for PyPI
234
+ name : pypi
232
235
233
236
permissions :
234
237
id-token : write # OIDC token for Trusted Publishing
@@ -251,8 +254,8 @@ jobs:
251
254
find dist -name '*.tar.gz' -exec mv {} upload/ \;
252
255
253
256
# 3. Publish to PyPI using Trusted Publishing
254
- - name : Publish to PyPI (Trusted Publishing) # ← enable for PyPI
257
+ - name : Publish to PyPI (Trusted Publishing)
255
258
uses : pypa/gh-action-pypi-publish@release/v1
256
259
with :
257
- repository-url : https://upload.pypi.org/legacy/ # ← production endpoint
260
+ repository-url : https://upload.pypi.org/legacy/
258
261
packages-dir : upload
You can’t perform that action at this time.
0 commit comments