forked from orbit-oss/flask
Use per-release URLs in GH env UI when publishing to the PyPI (#5423)
This commit is contained in:
commit
98a7f9fcf0
1 changed files with 5 additions and 3 deletions
8
.github/workflows/publish.yaml
vendored
8
.github/workflows/publish.yaml
vendored
|
|
@ -55,9 +55,11 @@ jobs:
|
||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
publish-pypi:
|
publish-pypi:
|
||||||
needs: [provenance]
|
needs: [provenance]
|
||||||
# Wait for approval before attempting to upload to PyPI. This allows reviewing the
|
environment:
|
||||||
# files in the draft release.
|
# Wait for approval before attempting to upload to PyPI. This allows reviewing the
|
||||||
environment: publish
|
# 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
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
id-token: write
|
id-token: write
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue