File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 timeout-minutes : 10
1717
1818 steps :
19- - uses : actions/checkout@v3
19+ - uses : actions/checkout@v6
2020 - name : Set up Python
21- uses : actions/setup-python@v4
21+ uses : actions/setup-python@v6
2222 with :
2323 python-version : ${{ matrix.python-ver }}
2424
@@ -88,11 +88,13 @@ jobs:
8888 deploy :
8989 runs-on : ubuntu-latest
9090 needs : test
91+ environment : pypi
92+ permissions :
93+ id-token : write
9194 steps :
92- - uses : actions/checkout@v3
93- - uses : actions/checkout@master
95+ - uses : actions/checkout@v6
9496 - name : Set up Python
95- uses : actions/setup-python@v4
97+ uses : actions/setup-python@v6
9698 with :
9799 python-version : 3.13
98100
@@ -105,7 +107,4 @@ jobs:
105107
106108 - name : Publish package if tagged release
107109 if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
108- uses : pypa/gh-action-pypi-publish@v1.13.0
109- with :
110- user : __token__
111- password : ${{ secrets.PYPI_API_TOKEN }}
110+ uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments