Skip to content

Commit

Permalink
only publish if 'v' is there
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronsteers committed Nov 12, 2024
1 parent dc02d61 commit 42db6ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pypi_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 42db6ae

Please sign in to comment.