Skip to content

Commit

Permalink
Merge pull request #79 from IITH-Compilers/main
Browse files Browse the repository at this point in the history
Update upload-pypi.yml
  • Loading branch information
svkeerthy authored Oct 12, 2023
2 parents 5b13460 + fa200d2 commit cb48801
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/upload-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
inputs:
pypi_repo:
description: 'Repo to upload to (testpypi or pypi)'
default: 'testpypi'
default: 'pypi'
required: true
type: choice
options:
Expand Down Expand Up @@ -48,11 +48,11 @@ 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]
Expand Down

0 comments on commit cb48801

Please sign in to comment.