File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -28,13 +28,12 @@ jobs:
2828 - name : Build sdist and wheel
2929 run : |
3030 python setup.py sdist bdist_wheel
31- - name : Publish distribution to Test PyPI
32- uses : pypa/gh-action-pypi-publish@master
33- with :
34- password : ${{ secrets.test_pypi_password }}
35- repository_url : https://test.pypi.org/legacy/
3631 - name : Publish distribution to PyPI
37- if : startsWith(github.ref, 'refs/tags')
38- uses : pypa/gh-action-pypi-publish@master
32+ # This condition prevents PRs from being published as part of
33+ # the test job.
34+ if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
35+ 3936 with :
40- password : ${{ secrets.pypi_password }}
37+ password : ${{ secrets.PYPI_API_TOKEN }}
38+ verbose : true
39+ print_hash : true
You can’t perform that action at this time.
0 commit comments