File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,14 @@ jobs:
1818 runs-on : ubuntu-latest
1919 outputs :
2020 package : ${{ steps.pkg.outputs.package }}
21+ pypi_url : ${{ steps.pkg.outputs.pypi_url }}
2122 steps :
2223 - name : Compute package name from the repository's
2324 id : pkg
2425 run : |
2526 name="${GITHUB_REPOSITORY##*/}"
2627 echo "package=${name#python-}" >> $GITHUB_OUTPUT
28+ echo "pypi_url=https://pypi.org/p/${name#python-}" >> $GITHUB_OUTPUT
2729 build :
2830 needs : prepare
2931 runs-on : ${{ matrix.os }}
9698 git commit -m "Update coverage badge"
9799 git push origin coverage-badge --force
98100 deploy :
101+ environment :
102+ name : pypi
103+ url : ${{ needs.prepare.outputs.pypi_url }}
99104 runs-on : ubuntu-latest
100105 needs : [prepare, coverage]
101106 steps :
Original file line number Diff line number Diff line change 1- 1.15.11
1+ 1.16.0
You can’t perform that action at this time.
0 commit comments