diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index a67dcb2..6f8e942 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -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