@@ -11,10 +11,10 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
- name : Check out code
14
- uses : actions/checkout@v3
14
+ uses : actions/checkout@v4
15
15
16
16
- name : Select python
17
- uses : actions/setup-python@v4
17
+ uses : actions/setup-python@v5
18
18
with :
19
19
python-version : 3.9
20
20
28
28
GSSAPI_COMPILER_ARGS : ' '
29
29
30
30
- name : Upload sdist
31
- uses : actions/upload-artifact@v3
31
+ uses : actions/upload-artifact@v4
32
32
with :
33
- name : artifact
33
+ name : artifact-sdist
34
34
path : ./dist/*.tar.gz
35
35
36
36
build_wheels :
@@ -107,9 +107,9 @@ jobs:
107
107
echo "C:\Program Files${{ endsWith(matrix.version, '-win32') && ' (x86)' || '' }}\MIT\Kerberos\bin;$PATH" >> $GITHUB_PATH
108
108
109
109
- name : Download gssapi sdist
110
- uses : actions/download-artifact@v3
110
+ uses : actions/download-artifact@v4
111
111
with :
112
- name : artifact
112
+ name : artifact-sdist
113
113
path : ./
114
114
115
115
- name : Extract sdist
@@ -121,18 +121,18 @@ jobs:
121
121
rm gssapi-*.tar.gz
122
122
123
123
- name : Build wheel
124
- uses : pypa/cibuildwheel@v2.15.0
124
+ uses : pypa/cibuildwheel@v2.16.5
125
125
env :
126
126
CIBW_ARCHS : all
127
127
CIBW_TEST_SKIP : ' *_arm64'
128
128
CIBW_BUILD : ${{ matrix.version }}
129
129
CIBW_BUILD_VERBOSITY : 1
130
130
131
131
- name : Upload wheel
132
- uses : actions/upload-artifact@v3
132
+ uses : actions/upload-artifact@v4
133
133
with :
134
134
path : ./wheelhouse/*.whl
135
- name : artifact
135
+ name : artifact-wheel-${{ matrix.version }}
136
136
137
137
# To catch issues like this https://github.com/pythongssapi/python-gssapi/issues/327
138
138
assertion_build :
@@ -142,9 +142,9 @@ jobs:
142
142
runs-on : ubuntu-latest
143
143
steps :
144
144
- name : Download gssapi sdist
145
- uses : actions/download-artifact@v3
145
+ uses : actions/download-artifact@v4
146
146
with :
147
- name : artifact
147
+ name : artifact-sdist
148
148
path : ./dist
149
149
150
150
- name : Compile Python with assertions
@@ -199,12 +199,13 @@ jobs:
199
199
200
200
steps :
201
201
- name : Check out code
202
- uses : actions/checkout@v3
202
+ uses : actions/checkout@v4
203
203
204
204
- name : Download built project
205
- uses : actions/download-artifact@v3
205
+ uses : actions/download-artifact@v4
206
206
with :
207
- name : artifact
207
+ pattern : artifact-*
208
+ merge-multiple : true
208
209
path : ./dist
209
210
210
211
- name : Test gssapi
@@ -249,16 +250,17 @@ jobs:
249
250
250
251
steps :
251
252
- name : Check out code
252
- uses : actions/checkout@v3
253
+ uses : actions/checkout@v4
253
254
254
255
- name : Download built project
255
- uses : actions/download-artifact@v3
256
+ uses : actions/download-artifact@v4
256
257
with :
257
- name : artifact
258
+ pattern : artifact-*
259
+ merge-multiple : true
258
260
path : ./dist
259
261
260
262
- name : Install the right python
261
- uses : actions/setup-python@v4
263
+ uses : actions/setup-python@v5
262
264
with :
263
265
python-version : ${{ matrix.pyenv }}
264
266
architecture : ${{ matrix.arch }}
@@ -277,12 +279,13 @@ jobs:
277
279
runs-on : macos-latest
278
280
steps :
279
281
- name : Check out code
280
- uses : actions/checkout@v3
282
+ uses : actions/checkout@v4
281
283
282
284
- name : Download built project
283
- uses : actions/download-artifact@v3
285
+ uses : actions/download-artifact@v4
284
286
with :
285
- name : artifact
287
+ pattern : artifact-*
288
+ merge-multiple : true
286
289
path : ./dist
287
290
288
291
- name : Test gssapi
@@ -308,12 +311,13 @@ jobs:
308
311
309
312
steps :
310
313
- name : Check out code
311
- uses : actions/checkout@v3
314
+ uses : actions/checkout@v4
312
315
313
316
- name : Download built project
314
- uses : actions/download-artifact@v3
317
+ uses : actions/download-artifact@v4
315
318
with :
316
- name : artifact
319
+ pattern : artifact-*
320
+ merge-multiple : true
317
321
path : ./dist
318
322
319
323
- name : Create GitHub release artifact
@@ -330,10 +334,10 @@ jobs:
330
334
run : echo "checksum=`ls tag_build/*.sha512sum | awk -F/ '{print $2}'`" >> $GITHUB_OUTPUT
331
335
332
336
- name : Upload tagged build artifact
333
- uses : actions/upload-artifact@v3
337
+ uses : actions/upload-artifact@v4
334
338
with :
335
339
path : tag_build/${{ steps.tarball.outputs.tarball }}
336
- name : artifact
340
+ name : release-asset
337
341
338
342
- name : Deploy stable docs
339
343
if : startsWith(github.ref, 'refs/tags/v')
0 commit comments