3434 # python-version: "3.13.0-alpha - 3.13.0"
3535 fail-fast : false
3636 steps :
37- - uses : actions/checkout@v3
37+ - uses : actions/checkout@v4
3838 - name : Set up Python ${{ matrix.python-version }}
39- uses : actions/setup-python@v4
39+ uses : actions/setup-python@v5
4040 with :
4141 python-version : ${{ matrix.python-version }}
4242 - name : Install dependencies
@@ -131,9 +131,9 @@ jobs:
131131 docs :
132132 runs-on : ubuntu-latest
133133 steps :
134- - uses : actions/checkout@v3
134+ - uses : actions/checkout@v4
135135 - name : Set up Python
136- uses : actions/setup-python@v4
136+ uses : actions/setup-python@v5
137137 with :
138138 python-version : " 3.10"
139139 - name : Install dependencies
@@ -147,18 +147,14 @@ jobs:
147147 - name : Run doctest
148148 run : |
149149 python -m sphinx -b doctest -W --keep-going doc build
150- - uses : actions/upload-artifact@v4
151- with :
152- name : sphinx-out
153- path : ./build/
154- retention-days : 5
155150
156151 build :
152+ name : Packaging
157153 runs-on : ubuntu-latest
158154 steps :
159- - uses : actions/checkout@v3
155+ - uses : actions/checkout@v4
160156 - name : Set up Python
161- uses : actions/setup-python@v4
157+ uses : actions/setup-python@v5
162158 with :
163159 python-version : " 3.10"
164160 - name : Build wheel and sdist
@@ -168,11 +164,12 @@ jobs:
168164 - name : Save artifacts
169165 uses : actions/upload-artifact@v4
170166 with :
171- name : " ${{ matrix.os }}-${{ matrix.python-version }} "
167+ name : release
172168 path : ./dist
173169
174170 upload_pypi :
175171 needs : [build]
172+ name : Release to PyPi
176173 runs-on : ubuntu-latest
177174 permissions :
178175 id-token : write
@@ -185,4 +182,5 @@ jobs:
185182 path : dist
186183 merge-multiple : true
187184
188- - uses : pypa/gh-action-pypi-publish@release/v1
185+ - name : Publish release distributions to PyPI
186+ uses : pypa/gh-action-pypi-publish@release/v1
0 commit comments