Skip to content

Commit

Permalink
only run build publish when tests passed
Browse files Browse the repository at this point in the history
  • Loading branch information
ZihengSun committed Jul 21, 2024
1 parent b208a93 commit e21806a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
fi
build-n-publish:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
needs: test-installation
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
runs-on: ubuntu-latest
Expand Down

0 comments on commit e21806a

Please sign in to comment.