diff --git a/.github/workflows/upload-pypi.yml b/.github/workflows/upload-pypi.yml index bd5de9fa..e213a497 100644 --- a/.github/workflows/upload-pypi.yml +++ b/.github/workflows/upload-pypi.yml @@ -48,12 +48,14 @@ jobs: name: artifact path: dist - # - name: Publish package to TestPyPI - # uses: pypa/gh-action-pypi-publish@v1.8.5 - # with: - # repository-url: https://test.pypi.org/legacy/ - # if: ${{ github.event.inputs.pypi_repo != 'pypi' }} + - name: Publish package to TestPyPI + uses: pypa/gh-action-pypi-publish@v1.8.5 + with: + repository-url: https://test.pypi.org/legacy/ + if: ${{ github.event.inputs.pypi_repo != 'pypi' }} - name: Publish package to PyPI uses: pypa/gh-action-pypi-publish@v1.8.5 + with: + repository-url: https://upload.pypi.org/legacy/ if: ${{ github.event.inputs.pypi_repo == 'pypi' }}