Skip to content

Commit

Permalink
Reintroduce test pypi action with legacy settings
Browse files Browse the repository at this point in the history
  • Loading branch information
nuwang committed Feb 13, 2024
1 parent 905cd39 commit 27e3533
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@ jobs:
python3 setup.py sdist bdist_wheel
twine check dist/*
ls -l dist
# - name: Publish distribution 📦 to Test PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# repository_url: https://test.pypi.org/legacy/
# skip_existing: true
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
skip_existing: true
- name: Publish distribution 📦 to PyPI
if: github.event_name == 'release'
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 27e3533

Please sign in to comment.