Skip to content

Commit

Permalink
fix: stop pushing to test.pypi.org
Browse files Browse the repository at this point in the history
  • Loading branch information
mwfarb committed Aug 1, 2023
1 parent bb05487 commit 670c33b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:
--wheel
--outdir dist/
.
- name: Publish distribution to Test PyPI
if: ${{ !startsWith(github.ref, 'refs/tags') }}
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
# - name: Publish distribution to Test PyPI
# if: ${{ !startsWith(github.ref, 'refs/tags') }}
# uses: pypa/gh-action-pypi-publish@master
# with:
# password: ${{ secrets.TEST_PYPI_API_TOKEN }}
# repository_url: https://test.pypi.org/legacy/
- name: Publish distribution to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
Expand Down

0 comments on commit 670c33b

Please sign in to comment.