From 9b830d4fc8f1c150eeb4c4f72bfbda72c43e868c Mon Sep 17 00:00:00 2001 From: Antonios Sarikas Date: Wed, 2 Oct 2024 14:59:41 +0300 Subject: [PATCH] Update `pypi.yaml` --- .github/workflows/pypi.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index 4a46df8..afb1c8a 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -1,16 +1,13 @@ -name: Publish Python 🐍 distribution 📦 to PyPI +name: Build and publish 📦 to PyPI on: - workflow_run: - workflows: [Unittest] - types: [completed] + push: branches: [master] jobs: build: name: Build distribution 📦 runs-on: ubuntu-latest - if: ${{ github.event.workflow_run.conclusion == 'success' }} # build only if unittests succeed steps: - uses: actions/checkout@v4