Skip to content

Commit 4fd17e1

Browse files
committed
Use the "release" environment on TestPyPI
Trusted publishing is set up to require that the release be done by publish.yml in the "release" environment, which is only set up for the PyPI environment.
1 parent 1cab5e2 commit 4fd17e1

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@ jobs:
5555
runs-on: ubuntu-latest
5656
needs: test-package
5757

58+
environment:
59+
name: release
60+
url: >-
61+
https://pypi.org/project/tzdata/${{
62+
github.event.release.tag_name
63+
}}
64+
5865
permissions:
5966
id-token: write
6067

0 commit comments

Comments
 (0)