Skip to content

Commit

Permalink
update workflow job
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronsteers committed Nov 12, 2024
1 parent b2b4735 commit 10b20b6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/pypi_publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and/or Publish
name: PyPI

on:
push:
Expand All @@ -7,6 +7,7 @@ on:

jobs:
build:
name: Build Python Package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -22,8 +23,8 @@ jobs:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
contents: write # Needed to upload artifacts to the release
environment:
name: PyPi
url: https://pypi.org/p/airbyte
name: PyPI
url: "${{env.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/')
steps:
- uses: actions/download-artifact@v4
Expand All @@ -41,3 +42,5 @@ jobs:

- name: Publish
uses: pypa/[email protected]
with:
repository-url: ${{env.PYPI_PUBLISH_URL}}

0 comments on commit 10b20b6

Please sign in to comment.