Update release.yml

This commit is contained in:
Leighton Chen 2024-05-31 09:04:58 -07:00 committed by GitHub
parent 0db9dbe311
commit 55c829b6c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 6 deletions

View File

@ -81,12 +81,14 @@ jobs:
# rejected by pypi (e.g "3 - Beta"). This would cause a failure during the # 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 # middle of the package upload causing the action to fail, and certain packages
# might have already been updated, this would be bad. # might have already been updated, this would be bad.
- name: Publish to TestPyPI # EDIT: 5/31/2024 - TestPypi now requires a verified email. Commenting out as a temporary measure
env: # until we found TestPypi credentials.
TWINE_USERNAME: '__token__' # - name: Publish to TestPyPI
TWINE_PASSWORD: ${{ secrets.test_pypi_token }} # env:
run: | # TWINE_USERNAME: '__token__'
twine upload --repository testpypi --skip-existing --verbose dist/* # TWINE_PASSWORD: ${{ secrets.test_pypi_token }}
# run: |
# twine upload --repository testpypi --skip-existing --verbose dist/*
- name: Publish to PyPI - name: Publish to PyPI
env: env: