From 11c6164edd93178a16a7360be01d8a4545db367c Mon Sep 17 00:00:00 2001 From: Martin Stephens Date: Fri, 12 Mar 2021 05:59:55 +0700 Subject: [PATCH] Update release.yml Changed env variables for twine username and password --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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/*