42
42
# python-version: "3.13.0-alpha - 3.13.0"
43
43
fail-fast : false
44
44
steps :
45
- - uses : actions/checkout@v3
45
+ - uses : actions/checkout@v4
46
46
- name : Set up Python ${{ matrix.python-version }}
47
- uses : actions/setup-python@v4
47
+ uses : actions/setup-python@v5
48
48
with :
49
49
python-version : ${{ matrix.python-version }}
50
50
- name : Install dependencies
@@ -139,9 +139,9 @@ jobs:
139
139
docs :
140
140
runs-on : ubuntu-latest
141
141
steps :
142
- - uses : actions/checkout@v3
142
+ - uses : actions/checkout@v4
143
143
- name : Set up Python
144
- uses : actions/setup-python@v4
144
+ uses : actions/setup-python@v5
145
145
with :
146
146
python-version : " 3.10"
147
147
- name : Install dependencies
@@ -155,18 +155,14 @@ jobs:
155
155
- name : Run doctest
156
156
run : |
157
157
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
163
158
164
159
build :
160
+ name : Packaging
165
161
runs-on : ubuntu-latest
166
162
steps :
167
- - uses : actions/checkout@v3
163
+ - uses : actions/checkout@v4
168
164
- name : Set up Python
169
- uses : actions/setup-python@v4
165
+ uses : actions/setup-python@v5
170
166
with :
171
167
python-version : " 3.10"
172
168
- name : Build wheel and sdist
@@ -176,11 +172,12 @@ jobs:
176
172
- name : Save artifacts
177
173
uses : actions/upload-artifact@v4
178
174
with :
179
- name : " ${{ matrix.os }}-${{ matrix.python-version }} "
175
+ name : release
180
176
path : ./dist
181
177
182
178
upload_pypi :
183
179
needs : [build]
180
+ name : Release to PyPi
184
181
runs-on : ubuntu-latest
185
182
permissions :
186
183
id-token : write
@@ -193,4 +190,5 @@ jobs:
193
190
path : dist
194
191
merge-multiple : true
195
192
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