Skip to content

Commit

Permalink
reintroduce testpypi
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry committed Feb 16, 2021
1 parent 1d26066 commit f20936b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ jobs:
run: |
python -m pip install --user build
python -m build --sdist --wheel --outdir dist/
- name: Publish to Test PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
skip_existing: true
- name: Publish to PyPI
if: github.event_name == 'release'
uses: pypa/gh-action-pypi-publish@master
Expand Down

0 comments on commit f20936b

Please sign in to comment.