Skip to content

Commit

Permalink
chore: Link to PyPI from succesful release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Feb 1, 2025
1 parent 104a789 commit c8ab1ec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,22 @@ jobs:
build:
name: Build wheel and sdist
runs-on: ubuntu-latest
outputs:
version: ${{ steps.baipp.outputs.package_version }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: hynek/build-and-inspect-python-package@v2
id: baipp

publish:
name: Publish to PyPI
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
environment:
name: publishing
url: https://pypi.org/p/tap-planetscaleapi
url: https://pypi.org/project/tap-planetscaleapi/${{ needs.build.outputs.version }}
needs: build
permissions:
contents: write
Expand Down

0 comments on commit c8ab1ec

Please sign in to comment.