From 6759d0358115378d6543462d3a05bfa8120e5a9d Mon Sep 17 00:00:00 2001 From: Florian Pinault Date: Mon, 14 Aug 2023 16:04:41 +0000 Subject: [PATCH] fix pypi --- .github/workflows/test-and-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index 526e7ba1..d5864d61 100644 --- a/.github/workflows/test-and-release.yml +++ b/.github/workflows/test-and-release.yml @@ -271,6 +271,6 @@ jobs: run: python setup.py sdist - name: Publish env: - TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} run: twine upload --verbose dist/*