Skip to content

Commit cf3c95f

Browse files
committed
Use publish environment for upload step
1 parent fae64fa commit cf3c95f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ jobs:
7373
if: startsWith(github.ref, 'refs/tags/')
7474
needs: ["build", "provenance"]
7575
runs-on: "ubuntu-latest"
76+
environment:
77+
name: "publish"
7678

7779
# Now that we've built and attested to the distributables
7880
# provenance we can upload them to PyPI and add to the GitHub release.

0 commit comments

Comments
 (0)