From 2e8f53fe46a4defe2080f5dbc834356a541a3359 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= <16805946+edgarrmondragon@users.noreply.github.com> Date: Mon, 16 Dec 2024 14:04:05 -0600 Subject: [PATCH] chore: Add package version to the environment URL (#389) --- .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 ddb3a7b..e0df2ae 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -10,9 +10,12 @@ permissions: jobs: build: runs-on: ubuntu-latest + outputs: + package_version: ${{ steps.baipp.outputs.package_version }} steps: - uses: actions/checkout@v4 - uses: hynek/build-and-inspect-python-package@v2 + id: baipp publish: runs-on: ubuntu-latest @@ -20,7 +23,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/') environment: name: publishing - url: https://pypi.org/p/tap-bitso/ + url: https://pypi.org/project/tap-bitso/${{ needs.build.outputs.package_version }} steps: - uses: actions/checkout@v4 - uses: actions/download-artifact@v4