File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -42,15 +42,15 @@ jobs:
42
42
--wheel
43
43
--outdir dist/
44
44
.
45
- - name : Publish distribution to Test PyPI
46
- if : ${{ github.event.inputs.isTest }}
45
+ - name : Publish distribution to PyPI
46
+ # if: ${{ ! github.event.inputs.isTest }} && startsWith(github.ref, 'refs/tags')
47
47
uses : pypa/gh-action-pypi-publish@master
48
48
with :
49
- password : ${{ secrets.TEST_PYPI_API_TOKEN }}
50
- repository_url : https://test.pypi.org/legacy/
51
- # Enable when ready to publish straight to PyPI
52
- # - name: Publish distribution to PyPI
53
- # if: ${{ !github.event.inputs.isTest }} && startsWith(github.ref, 'refs/tags')
49
+ password : ${{ secrets.PYPI_API_TOKEN }}
50
+ # Enable if you want to publish to TestPyPI
51
+ # - name: Publish distribution to Test PyPI
52
+ # if: ${{ github.event.inputs.isTest }}
54
53
# uses: pypa/gh-action-pypi-publish@master
55
54
# with:
56
- # password: ${{ secrets.PYPI_API_TOKEN }}
55
+ # password: ${{ secrets.TEST_PYPI_API_TOKEN }}
56
+ # repository_url: https://test.pypi.org/legacy/
You can’t perform that action at this time.
0 commit comments