From c28f7c978e9c06724f079314822c8f7777d1144d Mon Sep 17 00:00:00 2001 From: Leighton Chen Date: Tue, 12 Nov 2024 09:18:09 -0800 Subject: [PATCH] re-add testpypi publish step (#2991) --- .github/workflows/release.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 964d6f93df..7d7b18edc8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -81,14 +81,13 @@ jobs: # rejected by pypi (e.g "3 - Beta"). This would cause a failure during the # middle of the package upload causing the action to fail, and certain packages # might have already been updated, this would be bad. - # EDIT: 5/31/2024 - TestPypi now requires a verified email. Commenting out as a temporary measure - # until we found TestPypi credentials. - # - name: Publish to TestPyPI - # env: - # TWINE_USERNAME: '__token__' - # TWINE_PASSWORD: ${{ secrets.test_pypi_token }} - # run: | - # twine upload --repository testpypi --skip-existing --verbose dist/* + + - name: Publish to TestPyPI + env: + TWINE_USERNAME: '__token__' + TWINE_PASSWORD: ${{ secrets.test_pypi_token }} + run: | + twine upload --repository testpypi --skip-existing --verbose dist/* - name: Publish to PyPI env: