Skip to content

Commit

Permalink
[py] Fix for updated pypi controls
Browse files Browse the repository at this point in the history
  • Loading branch information
bnprks committed Nov 13, 2024
1 parent 72e838c commit 43af97e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ on:
required: true
type: choice
option:
- TestPyPI
- PyPI (prod)
- Test PyPI
- PyPI

jobs:
build-wheels:
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:

publish-to-testpypi:
name: Publish Python package to TestPyPI
if: ${{ inputs.use_test }}
if: ${{ inputs.use_test == 'Test PyPI' }}
needs:
- build-wheels
- build-sdist
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:

publish-to-pypi:
name: Publish Python package to PyPI
if: ${{ ! inputs.use_test }}
if: ${{ inputs.use_test == 'PyPI' }}
needs:
- build-wheels
- build-sdist
Expand Down

0 comments on commit 43af97e

Please sign in to comment.