diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8b0aa22..1d77b82 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -74,8 +74,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_token }} run: | python setup.py sdist twine upload dist/*