mirror of https://github.com/pallets/flask.git
Use per-release URLs in GH env UI when publishing to the PyPI
This essentially, makes the UI nicer in a few places with a clickable link to the released version being presented in the web interface of GitHub.
This commit is contained in:
parent
b90a4f1f4a
commit
0e59442f6c
|
|
@ -55,9 +55,11 @@ jobs:
|
|||
GH_TOKEN: ${{ github.token }}
|
||||
publish-pypi:
|
||||
needs: [provenance]
|
||||
# Wait for approval before attempting to upload to PyPI. This allows reviewing the
|
||||
# files in the draft release.
|
||||
environment: publish
|
||||
environment:
|
||||
# Wait for approval before attempting to upload to PyPI. This allows reviewing the
|
||||
# files in the draft release. The projection is configured in the repository settings.
|
||||
name: publish
|
||||
url: https://pypi.org/project/flask/${{ github.ref_name }}
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
id-token: write
|
||||
|
|
|
|||
Loading…
Reference in New Issue