2121 arch : [x86_64, thumb, mips, powerpc]
2222
2323 steps :
24- - uses : actions/checkout@v2
24+ - uses : actions/checkout@v4
2525 - name : install
2626 run : |
2727 # need a few things
@@ -235,9 +235,9 @@ jobs:
235235
236236 # create size statuses
237237 - name : upload-sizes
238- uses : actions/upload-artifact@v2
238+ uses : actions/upload-artifact@v4
239239 with :
240- name : sizes
240+ name : sizes-${{matrix.arch}}
241241 path : sizes
242242 - name : status-sizes
243243 run : |
@@ -273,16 +273,16 @@ jobs:
273273 }' | tee status/$(basename $f .csv).json
274274 done
275275 - name : upload-status-sizes
276- uses : actions/upload-artifact@v2
276+ uses : actions/upload-artifact@v4
277277 with :
278- name : status
278+ name : status-sizes-${{matrix.arch}}
279279 path : status
280280 retention-days : 1
281281
282282 # create cov statuses
283283 - name : upload-cov
284284 if : ${{matrix.arch == 'x86_64'}}
285- uses : actions/upload-artifact@v2
285+ uses : actions/upload-artifact@v4
286286 with :
287287 name : cov
288288 path : cov
@@ -317,11 +317,11 @@ jobs:
317317 target_step: env.STEP,
318318 }' | tee status/$(basename $f .csv)-$s.json
319319 done
320- - name : upload-status-sizes
320+ - name : upload-status-cov
321321 if : ${{matrix.arch == 'x86_64'}}
322- uses : actions/upload-artifact@v2
322+ uses : actions/upload-artifact@v4
323323 with :
324- name : status
324+ name : status-cov
325325 path : status
326326 retention-days : 1
327327
@@ -336,7 +336,7 @@ jobs:
336336 pls : [1, 2]
337337
338338 steps :
339- - uses : actions/checkout@v2
339+ - uses : actions/checkout@v4
340340 - name : install
341341 run : |
342342 # need a few things
@@ -361,7 +361,7 @@ jobs:
361361 test-no-intrinsics :
362362 runs-on : ubuntu-latest
363363 steps :
364- - uses : actions/checkout@v2
364+ - uses : actions/checkout@v4
365365 - name : install
366366 run : |
367367 # need a few things
@@ -378,7 +378,7 @@ jobs:
378378 test-multiversion :
379379 runs-on : ubuntu-latest
380380 steps :
381- - uses : actions/checkout@v2
381+ - uses : actions/checkout@v4
382382 - name : install
383383 run : |
384384 # need a few things
@@ -395,7 +395,7 @@ jobs:
395395 test-lfs2_0 :
396396 runs-on : ubuntu-latest
397397 steps :
398- - uses : actions/checkout@v2
398+ - uses : actions/checkout@v4
399399 - name : install
400400 run : |
401401 # need a few things
@@ -414,7 +414,7 @@ jobs:
414414 test-valgrind :
415415 runs-on : ubuntu-latest
416416 steps :
417- - uses : actions/checkout@v2
417+ - uses : actions/checkout@v4
418418 - name : install
419419 run : |
420420 # need a few things
@@ -436,7 +436,7 @@ jobs:
436436 test-clang :
437437 runs-on : ubuntu-latest
438438 steps :
439- - uses : actions/checkout@v2
439+ - uses : actions/checkout@v4
440440 - name : install
441441 run : |
442442 # need a few things
@@ -459,7 +459,7 @@ jobs:
459459 bench :
460460 runs-on : ubuntu-latest
461461 steps :
462- - uses : actions/checkout@v2
462+ - uses : actions/checkout@v4
463463 - name : install
464464 run : |
465465 # need a few things
@@ -491,7 +491,7 @@ jobs:
491491
492492 # create bench statuses
493493 - name : upload-bench
494- uses : actions/upload-artifact@v2
494+ uses : actions/upload-artifact@v4
495495 with :
496496 name : bench
497497 path : bench
@@ -525,20 +525,20 @@ jobs:
525525 }' | tee status/$(basename $f .csv)-$s.json
526526 done
527527 - name : upload-status-bench
528- uses : actions/upload-artifact@v2
528+ uses : actions/upload-artifact@v4
529529 with :
530- name : status
530+ name : status-bench
531531 path : status
532532 retention-days : 1
533533
534534 # run compatibility tests using the current master as the previous version
535535 test-compat :
536536 runs-on : ubuntu-latest
537537 steps :
538- - uses : actions/checkout@v2
538+ - uses : actions/checkout@v4
539539 if : ${{github.event_name == 'pull_request'}}
540540 # checkout the current pr target into lfsp
541- - uses : actions/checkout@v2
541+ - uses : actions/checkout@v4
542542 if : ${{github.event_name == 'pull_request'}}
543543 with :
544544 ref : ${{github.event.pull_request.base.ref}}
@@ -572,7 +572,7 @@ jobs:
572572 runs-on : ubuntu-latest
573573 if : ${{!endsWith(github.ref, '-prefix')}}
574574 steps :
575- - uses : actions/checkout@v2
575+ - uses : actions/checkout@v4
576576 - name : install
577577 run : |
578578 # need a few things
@@ -582,7 +582,7 @@ jobs:
582582 gcc --version
583583 python3 --version
584584 fusermount -V
585- - uses : actions/checkout@v2
585+ - uses : actions/checkout@v4
586586 with :
587587 repository : littlefs-project/littlefs-fuse
588588 ref : v2
@@ -622,7 +622,7 @@ jobs:
622622 runs-on : ubuntu-latest
623623 if : ${{!endsWith(github.ref, '-prefix')}}
624624 steps :
625- - uses : actions/checkout@v2
625+ - uses : actions/checkout@v4
626626 - name : install
627627 run : |
628628 # need a few things
@@ -632,12 +632,12 @@ jobs:
632632 gcc --version
633633 python3 --version
634634 fusermount -V
635- - uses : actions/checkout@v2
635+ - uses : actions/checkout@v4
636636 with :
637637 repository : littlefs-project/littlefs-fuse
638638 ref : v2
639639 path : v2
640- - uses : actions/checkout@v2
640+ - uses : actions/checkout@v4
641641 with :
642642 repository : littlefs-project/littlefs-fuse
643643 ref : v1
@@ -694,7 +694,7 @@ jobs:
694694 runs-on : ubuntu-latest
695695 needs : [test, bench]
696696 steps :
697- - uses : actions/checkout@v2
697+ - uses : actions/checkout@v4
698698 if : ${{github.event_name == 'pull_request'}}
699699 - name : install
700700 if : ${{github.event_name == 'pull_request'}}
@@ -704,23 +704,26 @@ jobs:
704704 pip3 install toml
705705 gcc --version
706706 python3 --version
707- - uses : actions/download-artifact@v2
707+ - uses : actions/download-artifact@v4
708708 if : ${{github.event_name == 'pull_request'}}
709709 continue-on-error : true
710710 with :
711- name : sizes
711+ pattern : ' {sizes,sizes-*}'
712+ merge-multiple : true
712713 path : sizes
713- - uses : actions/download-artifact@v2
714+ - uses : actions/download-artifact@v4
714715 if : ${{github.event_name == 'pull_request'}}
715716 continue-on-error : true
716717 with :
717- name : cov
718+ pattern : ' {cov,cov-*}'
719+ merge-multiple : true
718720 path : cov
719- - uses : actions/download-artifact@v2
721+ - uses : actions/download-artifact@v4
720722 if : ${{github.event_name == 'pull_request'}}
721723 continue-on-error : true
722724 with :
723- name : bench
725+ pattern : ' {bench,bench-*}'
726+ merge-multiple : true
724727 path : bench
725728
726729 # try to find results from tests
@@ -862,7 +865,7 @@ jobs:
862865 body: $comment,
863866 }' | tee comment/comment.json
864867 - name : upload-comment
865- uses : actions/upload-artifact@v2
868+ uses : actions/upload-artifact@v4
866869 with :
867870 name : comment
868871 path : comment
0 commit comments