Use per-release URLs in GH env UI when publishing to the PyPI (#5423)

This commit is contained in:
David Lord 2024-04-06 16:17:13 -07:00 committed by GitHub
commit 98a7f9fcf0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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