Skip to content

Commit 6e0a0c7

Browse files
Reconfigured Action Workflow
1 parent 75d9992 commit 6e0a0c7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/python-publish.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ jobs:
4242
--wheel
4343
--outdir dist/
4444
.
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')
4747
uses: pypa/gh-action-pypi-publish@master
4848
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 }}
5453
# uses: pypa/gh-action-pypi-publish@master
5554
# with:
56-
# password: ${{ secrets.PYPI_API_TOKEN }}
55+
# password: ${{ secrets.TEST_PYPI_API_TOKEN }}
56+
# repository_url: https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)