Skip to content

Commit 6696033

Browse files
Enable write for Trusted Publishers pypi (#49)
1 parent 1c4dd4c commit 6696033

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
jobs:
88
Publish:
99
runs-on: ubuntu-latest
10+
environment: release
11+
permissions:
12+
id-token: write
1013
steps:
1114
- uses: actions/checkout@v4
1215
with:
@@ -21,10 +24,9 @@ jobs:
2124
- name: Build a binary wheel and a source tarball
2225
run: |
2326
nox -e build
24-
25-
- name: Publish distribution 📦 to PyPI
27+
- name: Publish package distributions to PyPI
2628
uses: pypa/gh-action-pypi-publish@release/v1
2729
with:
2830
print-hash: true
29-
skip-existing: true
31+
verbose: true
3032
verify-metadata: true

0 commit comments

Comments
 (0)