File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -251,6 +251,10 @@ jobs:
251251 - windows
252252
253253 runs-on : ubuntu-latest
254+ permissions :
255+ # IMPORTANT: this permission is mandatory for trusted publishing
256+ id-token : write
257+
254258 steps :
255259 - name : Check out code
256260 uses : actions/checkout@v3
@@ -323,7 +327,4 @@ jobs:
323327
324328 - name : Deploy to PyPI
325329 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 316316
317317
318318# 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 ) }
320320
321321# which docstring to use for the class
322322# can be 'class', 'init', or 'both'
You can’t perform that action at this time.
0 commit comments