Skip to content

Commit 4d70870

Browse files
chore: Add package version to the environment URL (#276)
1 parent 2034ec0 commit 4d70870

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/dynamic-publish.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,21 @@ permissions:
1010
jobs:
1111
build:
1212
runs-on: ubuntu-latest
13+
outputs:
14+
package_version: ${{ steps.baipp.outputs.package_version }}
1315
steps:
1416
- uses: actions/checkout@v4
1517
with:
1618
fetch-depth: 0
1719
- uses: hynek/build-and-inspect-python-package@v2
20+
id: baipp
1821

1922
publish:
2023
runs-on: ubuntu-latest
2124
needs: build
2225
environment:
2326
name: pypi
24-
url: https://pypi.org/p/tap-pipedream/
27+
url: https://pypi.org/project/tap-pipedream/${{ needs.build.outputs.package_version }}
2528
if: startsWith(github.ref, 'refs/tags/')
2629
steps:
2730
- uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)