4242 # python-version: "3.13.0-alpha - 3.13.0"
4343 fail-fast : false
4444 steps :
45- - uses : actions/checkout@v3
45+ - uses : actions/checkout@v4
4646 - name : Set up Python ${{ matrix.python-version }}
47- uses : actions/setup-python@v4
47+ uses : actions/setup-python@v5
4848 with :
4949 python-version : ${{ matrix.python-version }}
5050 - name : Install dependencies
@@ -139,9 +139,9 @@ jobs:
139139 docs :
140140 runs-on : ubuntu-latest
141141 steps :
142- - uses : actions/checkout@v3
142+ - uses : actions/checkout@v4
143143 - name : Set up Python
144- uses : actions/setup-python@v4
144+ uses : actions/setup-python@v5
145145 with :
146146 python-version : " 3.10"
147147 - name : Install dependencies
@@ -155,18 +155,14 @@ jobs:
155155 - name : Run doctest
156156 run : |
157157 python -m sphinx -b doctest -W --keep-going doc build
158- - uses : actions/upload-artifact@v4
159- with :
160- name : sphinx-out
161- path : ./build/
162- retention-days : 5
163158
164159 build :
160+ name : Packaging
165161 runs-on : ubuntu-latest
166162 steps :
167- - uses : actions/checkout@v3
163+ - uses : actions/checkout@v4
168164 - name : Set up Python
169- uses : actions/setup-python@v4
165+ uses : actions/setup-python@v5
170166 with :
171167 python-version : " 3.10"
172168 - name : Build wheel and sdist
@@ -176,11 +172,12 @@ jobs:
176172 - name : Save artifacts
177173 uses : actions/upload-artifact@v4
178174 with :
179- name : " ${{ matrix.os }}-${{ matrix.python-version }} "
175+ name : release
180176 path : ./dist
181177
182178 upload_pypi :
183179 needs : [build]
180+ name : Release to PyPi
184181 runs-on : ubuntu-latest
185182 permissions :
186183 id-token : write
@@ -193,4 +190,5 @@ jobs:
193190 path : dist
194191 merge-multiple : true
195192
196- - uses : pypa/gh-action-pypi-publish@release/v1
193+ - name : Publish release distributions to PyPI
194+ uses : pypa/gh-action-pypi-publish@release/v1
0 commit comments