Skip to content

Commit 8115f79

Browse files
committed
Update publish.yml
1 parent 4e14b0c commit 8115f79

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
permissions:
2020
# IMPORTANT: this permission is mandatory for trusted publishing
2121
id-token: write
22-
contents: write
2322

2423
# Dedicated environments with protections for publishing are strongly recommended.
2524
# For more information, see: https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#deployment-protection-rules
@@ -50,14 +49,13 @@ jobs:
5049

5150
# ---------- WINDOWS EXE BUILD JOB ----------
5251
build-windows-exe:
53-
permissions:
54-
# IMPORTANT: this permission is mandatory for trusted publishing
55-
id-token: write
56-
contents: write
5752
runs-on: windows-latest
5853
needs: python-package # Wait for PyPI job
5954
steps:
6055
- uses: actions/checkout@v4
56+
permissions:
57+
# IMPORTANT: this permission is mandatory for trusted publishing
58+
id-token: write
6159

6260
- name: Set up Python
6361
uses: actions/setup-python@v5

0 commit comments

Comments
 (0)