File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -175,13 +175,8 @@ jobs:
175175 - pre-release-checks
176176 environment : Scheduled testing publish
177177 runs-on : ubuntu-latest
178- # permissions:
179- # # This permission is used for trusted publishing:
180- # # https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers/
181- # #
182- # # Trusted publishing has to also be configured on PyPI for each package:
183- # # https://docs.pypi.org/trusted-publishers/adding-a-publisher/
184- # id-token: write
178+ permissions :
179+ id-token : write # This is required for requesting the JWT
185180
186181 defaults :
187182 run :
@@ -205,6 +200,7 @@ jobs:
205200
206201 - name : Publish package distributions to PyPI
207202 uses : pypa/gh-action-pypi-publish@release/v1
203+
208204 with :
209205 packages-dir : ${{ inputs.working-directory }}/dist/
210206 verbose : true
@@ -257,4 +253,4 @@ jobs:
257253 draft : false
258254 generateReleaseNotes : true
259255 tag : v${{ needs.build.outputs.version }}
260- commit : main
256+ commit : main
You can’t perform that action at this time.
0 commit comments