From c8ab1ec26b2b9ddba1ad5d63207d46c7e954a9b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez-Mondrag=C3=B3n?= Date: Fri, 31 Jan 2025 19:01:31 -0600 Subject: [PATCH] chore: Link to PyPI from succesful release workflow --- .github/workflows/release.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4ca7371..06db42c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,11 +7,14 @@ 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 @@ -19,7 +22,7 @@ jobs: 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