Skip to content

Commit

Permalink
ci: use gh-action-pypi-publish@release/v1 (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
thijstriemstra committed Jan 22, 2023
1 parent 95341e2 commit e485138
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-pypi.yml
Expand Up @@ -23,14 +23,14 @@ jobs:
run: python -m build --sdist --wheel --outdir dist/ .
- name: Publish package to test PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
- name: Publish package to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit e485138

Please sign in to comment.