@@ -180,7 +180,7 @@ jobs:
180
180
BUILD_DOCS=1 BUILD_TYPE=None poetry install
181
181
- name : Upload Doxygen-generated docs as CI artifacts
182
182
if : ${{ matrix.os == 'ubuntu-20.04' && matrix.python_version == '3.11' }}
183
- uses : actions/upload-artifact@v3
183
+ uses : actions/upload-artifact@v4
184
184
with :
185
185
name : docs-${{ github.run_id }}-${{ github.sha }}
186
186
path : ./build/docs/html/
@@ -218,9 +218,9 @@ jobs:
218
218
mv "$file" "$(echo "$file" | sed -E 's/macosx_[0-9]+_[0-9]+/macosx_11_0/')";
219
219
done
220
220
- name : Upload wheel as CI artifacts
221
- uses : actions/upload-artifact@v3
221
+ uses : actions/upload-artifact@v4
222
222
with :
223
- name : wheel-${{ github.run_id }}-${{ github.sha }}
223
+ name : wheel-${{ github.run_id }}-${{ github.sha }}-${{ matrix.os }}
224
224
path : ./dist/
225
225
- name : Set cores to get stored in /cores
226
226
if : ${{ matrix.os != 'windows-2022' }}
@@ -282,9 +282,9 @@ jobs:
282
282
poetry build --format=sdist
283
283
ls -lah ./dist/
284
284
- name : Upload sdist as CI artifacts
285
- uses : actions/upload-artifact@v3
285
+ uses : actions/upload-artifact@v4
286
286
with :
287
- name : wheel-${{ github.run_id }}-${{ github.sha }}
287
+ name : wheel-${{ github.run_id }}-${{ github.sha }}-sdist
288
288
path : ./dist/
289
289
check-install-from-sdist :
290
290
needs : sdist
@@ -294,9 +294,9 @@ jobs:
294
294
with :
295
295
python-version : ' 3.10'
296
296
- name : Download wheels built
297
- uses : actions/download-artifact@v3
297
+ uses : actions/download-artifact@v4
298
298
with :
299
- name : wheel-${{ github.run_id }}-${{ github.sha }}
299
+ name : wheel-${{ github.run_id }}-${{ github.sha }}-sdist
300
300
path : ./dist/
301
301
- run : pip install ./dist/pythonmonkey-*.tar.gz
302
302
publish :
@@ -310,9 +310,10 @@ jobs:
310
310
python-version : ' 3.9'
311
311
- run : pip install twine
312
312
- name : Download wheels built
313
- uses : actions/download-artifact@v3
313
+ uses : actions/download-artifact@v4
314
314
with :
315
- name : wheel-${{ github.run_id }}-${{ github.sha }}
315
+ pattern : wheel-${{ github.run_id }}-${{ github.sha }}-*
316
+ merge-multiple : true
316
317
path : ./dist/
317
318
- run : ls -lah ./dist/
318
319
- name : Publish package
@@ -335,12 +336,13 @@ jobs:
335
336
steps :
336
337
# don't checkout
337
338
- name : Download wheels built
338
- uses : actions/download-artifact@v3
339
+ uses : actions/download-artifact@v4
339
340
with :
340
- name : wheel-${{ github.run_id }}-${{ github.sha }}
341
+ pattern : wheel-${{ github.run_id }}-${{ github.sha }}-*
342
+ merge-multiple : true
341
343
path : ./dist/
342
344
- name : Download docs html generated by Doxygen
343
- uses : actions/download-artifact@v3
345
+ uses : actions/download-artifact@v4
344
346
with :
345
347
name : docs-${{ github.run_id }}-${{ github.sha }}
346
348
path : ./docs/
@@ -391,12 +393,13 @@ jobs:
391
393
steps :
392
394
# no need to checkout
393
395
- name : Download wheels built
394
- uses : actions/download-artifact@v3
396
+ uses : actions/download-artifact@v4
395
397
with :
396
- name : wheel-${{ github.run_id }}-${{ github.sha }}
398
+ pattern : wheel-${{ github.run_id }}-${{ github.sha }}-*
399
+ merge-multiple : true
397
400
path : ./
398
401
- name : Download docs html generated by Doxygen
399
- uses : actions/download-artifact@v3
402
+ uses : actions/download-artifact@v4
400
403
with :
401
404
name : docs-${{ github.run_id }}-${{ github.sha }}
402
405
path : ./docs/
0 commit comments