diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6d0015a..691a4b0 100755 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -78,8 +78,8 @@ jobs: - name: Build and publish if: contains(steps.need-pypi.outputs.setup-py, 'setup.py') env: - TWINE_USERNAME: ${{ secrets.pypi_username }} - TWINE_PASSWORD: ${{ secrets.pypi_password }} + TWINE_USERNAME: $'__token__' + TWINE_PASSWORD: ${{ secrets.PYPI }} run: | python setup.py sdist twine upload dist/*