From 42db6aefe990751417698ba629033508b504527e Mon Sep 17 00:00:00 2001 From: Aaron Steers Date: Mon, 11 Nov 2024 16:39:00 -0800 Subject: [PATCH] only publish if 'v' is there --- .github/workflows/pypi_publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pypi_publish.yml b/.github/workflows/pypi_publish.yml index 56ad9649..9abbc446 100644 --- a/.github/workflows/pypi_publish.yml +++ b/.github/workflows/pypi_publish.yml @@ -24,8 +24,8 @@ jobs: contents: write # Needed to upload artifacts to the release environment: name: PyPI - url: "${{vars.PYPI_PUBLISH_URL}}" # Can be toggled at the repository level between https://pypi.org/p/airbyte and https://test.pypi.org/p/airbyte - if: startsWith(github.ref, 'refs/tags/') + url: "${{vars.PYPI_PUBLISH_URL}}" # Can be toggled at the repository level between `https://pypi.org/p/airbyte-cdk/` and `https://test.pypi.org/p/airbyte-cdk/` + if: startsWith(github.ref, 'refs/tags/v') steps: - uses: actions/download-artifact@v4 with: