File tree Expand file tree Collapse file tree 1 file changed +1
-23
lines changed Expand file tree Collapse file tree 1 file changed +1
-23
lines changed Original file line number Diff line number Diff line change 59
59
name : dist-packages
60
60
path : dist/
61
61
62
- publish-test :
63
- needs : build
64
- runs-on : ubuntu-latest
65
- if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
66
-
67
- steps :
68
- - name : Download build artifacts
69
- uses : actions/download-artifact@v4
70
- with :
71
- name : dist-packages
72
- path : dist/
73
-
74
- - name : Publish to Test PyPI
75
- env :
76
- TWINE_USERNAME : __token__
77
- TWINE_PASSWORD : ${{ secrets.TEST_PYPI_API_TOKEN }}
78
- run : |
79
- pip install twine>=4.0.0
80
- # Check package metadata before upload
81
- twine check dist/*
82
- # Try to upload with verbose output
83
- twine upload --repository testpypi --verbose dist/*
84
62
85
63
publish-prod :
86
- needs : [ build, publish-test]
64
+ needs : build
87
65
runs-on : ubuntu-latest
88
66
if : github.event_name == 'release' && github.event.action == 'published'
89
67
You can’t perform that action at this time.
0 commit comments