Correct Pypi CI pipeline

pull/1866/head
nicolargo 2021-04-20 11:00:32 +02:00
parent 834b2412cf
commit 6f50664eaf
1 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ jobs:
- name: Publish distribution package to Test PyPI - name: Publish distribution package to Test PyPI
uses: pypa/gh-action-pypi-publish@master uses: pypa/gh-action-pypi-publish@master
with: with:
user: ${{ secrets.PYPI_USERNAME }} user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }} password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/ repository_url: https://test.pypi.org/legacy/
@ -116,5 +116,5 @@ jobs:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master uses: pypa/gh-action-pypi-publish@master
with: with:
user: ${{ secrets.PYPI_USERNAME }} user: __token__
password: ${{ secrets.PYPI_API_TOKEN }} password: ${{ secrets.PYPI_API_TOKEN }}