34
34
# python-version: "3.13.0-alpha - 3.13.0"
35
35
fail-fast : false
36
36
steps :
37
- - uses : actions/checkout@v3
37
+ - uses : actions/checkout@v4
38
38
- name : Set up Python ${{ matrix.python-version }}
39
- uses : actions/setup-python@v4
39
+ uses : actions/setup-python@v5
40
40
with :
41
41
python-version : ${{ matrix.python-version }}
42
42
- name : Install dependencies
@@ -131,9 +131,9 @@ jobs:
131
131
docs :
132
132
runs-on : ubuntu-latest
133
133
steps :
134
- - uses : actions/checkout@v3
134
+ - uses : actions/checkout@v4
135
135
- name : Set up Python
136
- uses : actions/setup-python@v4
136
+ uses : actions/setup-python@v5
137
137
with :
138
138
python-version : " 3.10"
139
139
- name : Install dependencies
@@ -147,18 +147,14 @@ jobs:
147
147
- name : Run doctest
148
148
run : |
149
149
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
155
150
156
151
build :
152
+ name : Packaging
157
153
runs-on : ubuntu-latest
158
154
steps :
159
- - uses : actions/checkout@v3
155
+ - uses : actions/checkout@v4
160
156
- name : Set up Python
161
- uses : actions/setup-python@v4
157
+ uses : actions/setup-python@v5
162
158
with :
163
159
python-version : " 3.10"
164
160
- name : Build wheel and sdist
@@ -168,11 +164,12 @@ jobs:
168
164
- name : Save artifacts
169
165
uses : actions/upload-artifact@v4
170
166
with :
171
- name : " ${{ matrix.os }}-${{ matrix.python-version }} "
167
+ name : release
172
168
path : ./dist
173
169
174
170
upload_pypi :
175
171
needs : [build]
172
+ name : Release to PyPi
176
173
runs-on : ubuntu-latest
177
174
permissions :
178
175
id-token : write
@@ -185,4 +182,5 @@ jobs:
185
182
path : dist
186
183
merge-multiple : true
187
184
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