File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -251,6 +251,10 @@ jobs:
251
251
- windows
252
252
253
253
runs-on : ubuntu-latest
254
+ permissions :
255
+ # IMPORTANT: this permission is mandatory for trusted publishing
256
+ id-token : write
257
+
254
258
steps :
255
259
- name : Check out code
256
260
uses : actions/checkout@v3
@@ -323,7 +327,4 @@ jobs:
323
327
324
328
- name : Deploy to PyPI
325
329
if : startsWith(github.ref, 'refs/tags/v')
326
- uses : pypa/gh-action-pypi-publish@v1.5.1
327
- with :
328
- user : __token__
329
- password : ${{ secrets.pypi_password }}
330
+ uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change 316
316
317
317
318
318
# Example configuration for intersphinx: refer to the Python standard library.
319
- intersphinx_mapping = {'http://docs.python.org/' : None }
319
+ intersphinx_mapping = {'python' : ( ' http://docs.python.org/', None ) }
320
320
321
321
# which docstring to use for the class
322
322
# can be 'class', 'init', or 'both'
You can’t perform that action at this time.
0 commit comments