Skip to content

Commit

Permalink
Use per-release URLs in GH env UI when publishing to the PyPI (#5423)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism committed Apr 6, 2024
2 parents b90a4f1 + 0e59442 commit 98a7f9f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 98a7f9f

Please sign in to comment.