diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index c361c0bc..3872c31f 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -5,8 +5,12 @@ name: Multi-platform Python/C++ build/test on: push: branches: [ "main" ] + paths-ignore: + - '.github/workflows/publish*.yml' pull_request: branches: [ "main" ] + paths-ignore: + - '.github/workflows/publish*.yml' concurrency: group: ${{ github.repository }}-${{ github.event.number || github.head_ref || github.sha }}-${{ github.workflow }} @@ -227,3 +231,8 @@ jobs: retention-days: 1 if-no-files-found: error + call-publish-pypi: + name: "Trigger workflow to publish distribution 📦s to PyPI/TestPyPI" + needs: build_and_test + uses: ./.github/workflows/publish-pypi.yml +