Skip to content

Commit

Permalink
Require build before pypi deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
natezb committed Dec 31, 2024
1 parent 0675598 commit 33aebe5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jobs:
publish-to-pypi:
name: Publish to PyPI
if: ${{ github.event_name == 'release' && github.event.action == 'released' }}
needs:
- build
runs-on: ubuntu-latest

environment:
Expand All @@ -65,7 +67,9 @@ jobs:

publish-to-testpypi:
name: Publish to TestPyPI
if: ${{ github.event_name == 'release' && github.event.action == 'prereleased' }}
#if: ${{ github.event_name == 'release' && github.event.action == 'prereleased' }}
needs:
- build
runs-on: ubuntu-latest

environment:
Expand Down

0 comments on commit 33aebe5

Please sign in to comment.