Skip to content

Commit

Permalink
Update upload-pypi.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
svkeerthy authored Oct 12, 2023
1 parent fa200d2 commit 9abc1d0
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/upload-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,14 @@ jobs:
name: artifact
path: dist

# - name: Publish package to TestPyPI
# uses: pypa/[email protected]
# with:
# repository-url: https://test.pypi.org/legacy/
# if: ${{ github.event.inputs.pypi_repo != 'pypi' }}
- name: Publish package to TestPyPI
uses: pypa/[email protected]
with:
repository-url: https://test.pypi.org/legacy/
if: ${{ github.event.inputs.pypi_repo != 'pypi' }}

- name: Publish package to PyPI
uses: pypa/[email protected]
with:
repository-url: https://upload.pypi.org/legacy/
if: ${{ github.event.inputs.pypi_repo == 'pypi' }}

0 comments on commit 9abc1d0

Please sign in to comment.