Skip to content

Commit 7748080

Browse files
committed
CI: change to PyPI publishing script
1 parent d05bfcb commit 7748080

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
build_and_upload_to_pypi:
1111
runs-on: ubuntu-latest
1212
environment: release
13+
permissions:
14+
id-token: write
1315
strategy:
1416
matrix:
1517
python-version: ["3.12"]
@@ -40,7 +42,5 @@ jobs:
4042

4143
- name: Publish to PyPI using trusted publishing
4244
uses: pypa/gh-action-pypi-publish@release/v1
43-
permissions:
44-
id-token: write
4545
with:
4646
attestations: false

0 commit comments

Comments
 (0)