Skip to content

Commit 399f565

Browse files
committed
setting up gha release for PyPI TP
1 parent afd8abf commit 399f565

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/create-release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,11 @@ jobs:
143143
pypi:
144144
name: PyPI distribution for Python ${{ matrix.python-version }}
145145
runs-on: ubuntu-latest
146+
# Specifying a GitHub environment is optional, but strongly encouraged
147+
#environment: release
148+
permissions:
149+
# IMPORTANT: this permission is mandatory for trusted publishing
150+
id-token: write
146151
needs: [ github, version_check ]
147152
if: ${{ startsWith(github.ref_name, 'v') || needs.version_check.outputs.PCAPKIT_TAG_EXISTS == 'false' }}
148153
strategy:

0 commit comments

Comments
 (0)