Skip to content

Commit

Permalink
update release.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
sumit4613 committed Jul 17, 2021
1 parent cddee12 commit 33b86fb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@ jobs:
python setup.py sdist --format=gztar bdist_wheel
twine check dist/*
- name: Upload packages to TestPyPI
- name: Upload packages to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.TEST_PYPI_TOKEN }}
repository_url: https://test.pypi.org/legacy/
password: ${{ secrets.PYPI_TOKEN }}

0 comments on commit 33b86fb

Please sign in to comment.