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,17 @@ jobs:
273273 }' | tee status/$(basename $f .csv).json
274274 done
275275 - name : upload-status-sizes
276- uses : actions/upload-artifact@v2
276+ if : ${{matrix.arch == 'x86_64'}}
277+ uses : actions/upload-artifact@v4
277278 with :
278- name : status
279+ name : status-sizes-${{matrix.arch}}
279280 path : status
280281 retention-days : 1
281282
282283 # create cov statuses
283284 - name : upload-cov
284285 if : ${{matrix.arch == 'x86_64'}}
285- uses : actions/upload-artifact@v2
286+ uses : actions/upload-artifact@v4
286287 with :
287288 name : cov
288289 path : cov
@@ -317,11 +318,11 @@ jobs:
317318 target_step: env.STEP,
318319 }' | tee status/$(basename $f .csv)-$s.json
319320 done
320- - name : upload-status-sizes
321+ - name : upload-status-cov
321322 if : ${{matrix.arch == 'x86_64'}}
322- uses : actions/upload-artifact@v2
323+ uses : actions/upload-artifact@v4
323324 with :
324- name : status
325+ name : status-cov
325326 path : status
326327 retention-days : 1
327328
@@ -336,7 +337,7 @@ jobs:
336337 pls : [1, 2]
337338
338339 steps :
339- - uses : actions/checkout@v2
340+ - uses : actions/checkout@v4
340341 - name : install
341342 run : |
342343 # need a few things
@@ -361,7 +362,7 @@ jobs:
361362 test-no-intrinsics :
362363 runs-on : ubuntu-latest
363364 steps :
364- - uses : actions/checkout@v2
365+ - uses : actions/checkout@v4
365366 - name : install
366367 run : |
367368 # need a few things
@@ -378,7 +379,7 @@ jobs:
378379 test-multiversion :
379380 runs-on : ubuntu-latest
380381 steps :
381- - uses : actions/checkout@v2
382+ - uses : actions/checkout@v4
382383 - name : install
383384 run : |
384385 # need a few things
@@ -395,7 +396,7 @@ jobs:
395396 test-lfs2_0 :
396397 runs-on : ubuntu-latest
397398 steps :
398- - uses : actions/checkout@v2
399+ - uses : actions/checkout@v4
399400 - name : install
400401 run : |
401402 # need a few things
@@ -414,7 +415,7 @@ jobs:
414415 test-valgrind :
415416 runs-on : ubuntu-latest
416417 steps :
417- - uses : actions/checkout@v2
418+ - uses : actions/checkout@v4
418419 - name : install
419420 run : |
420421 # need a few things
@@ -436,7 +437,7 @@ jobs:
436437 test-clang :
437438 runs-on : ubuntu-latest
438439 steps :
439- - uses : actions/checkout@v2
440+ - uses : actions/checkout@v4
440441 - name : install
441442 run : |
442443 # need a few things
@@ -459,7 +460,7 @@ jobs:
459460 bench :
460461 runs-on : ubuntu-latest
461462 steps :
462- - uses : actions/checkout@v2
463+ - uses : actions/checkout@v4
463464 - name : install
464465 run : |
465466 # need a few things
@@ -491,7 +492,7 @@ jobs:
491492
492493 # create bench statuses
493494 - name : upload-bench
494- uses : actions/upload-artifact@v2
495+ uses : actions/upload-artifact@v4
495496 with :
496497 name : bench
497498 path : bench
@@ -525,20 +526,20 @@ jobs:
525526 }' | tee status/$(basename $f .csv)-$s.json
526527 done
527528 - name : upload-status-bench
528- uses : actions/upload-artifact@v2
529+ uses : actions/upload-artifact@v4
529530 with :
530- name : status
531+ name : status-bench
531532 path : status
532533 retention-days : 1
533534
534535 # run compatibility tests using the current master as the previous version
535536 test-compat :
536537 runs-on : ubuntu-latest
537538 steps :
538- - uses : actions/checkout@v2
539+ - uses : actions/checkout@v4
539540 if : ${{github.event_name == 'pull_request'}}
540541 # checkout the current pr target into lfsp
541- - uses : actions/checkout@v2
542+ - uses : actions/checkout@v4
542543 if : ${{github.event_name == 'pull_request'}}
543544 with :
544545 ref : ${{github.event.pull_request.base.ref}}
@@ -572,7 +573,7 @@ jobs:
572573 runs-on : ubuntu-latest
573574 if : ${{!endsWith(github.ref, '-prefix')}}
574575 steps :
575- - uses : actions/checkout@v2
576+ - uses : actions/checkout@v4
576577 - name : install
577578 run : |
578579 # need a few things
@@ -582,7 +583,7 @@ jobs:
582583 gcc --version
583584 python3 --version
584585 fusermount -V
585- - uses : actions/checkout@v2
586+ - uses : actions/checkout@v4
586587 with :
587588 repository : littlefs-project/littlefs-fuse
588589 ref : v2
@@ -622,7 +623,7 @@ jobs:
622623 runs-on : ubuntu-latest
623624 if : ${{!endsWith(github.ref, '-prefix')}}
624625 steps :
625- - uses : actions/checkout@v2
626+ - uses : actions/checkout@v4
626627 - name : install
627628 run : |
628629 # need a few things
@@ -632,12 +633,12 @@ jobs:
632633 gcc --version
633634 python3 --version
634635 fusermount -V
635- - uses : actions/checkout@v2
636+ - uses : actions/checkout@v4
636637 with :
637638 repository : littlefs-project/littlefs-fuse
638639 ref : v2
639640 path : v2
640- - uses : actions/checkout@v2
641+ - uses : actions/checkout@v4
641642 with :
642643 repository : littlefs-project/littlefs-fuse
643644 ref : v1
@@ -694,7 +695,7 @@ jobs:
694695 runs-on : ubuntu-latest
695696 needs : [test, bench]
696697 steps :
697- - uses : actions/checkout@v2
698+ - uses : actions/checkout@v4
698699 if : ${{github.event_name == 'pull_request'}}
699700 - name : install
700701 if : ${{github.event_name == 'pull_request'}}
@@ -704,23 +705,26 @@ jobs:
704705 pip3 install toml
705706 gcc --version
706707 python3 --version
707- - uses : actions/download-artifact@v2
708+ - uses : actions/download-artifact@v4
708709 if : ${{github.event_name == 'pull_request'}}
709710 continue-on-error : true
710711 with :
711- name : sizes
712+ pattern : ' {sizes,sizes-*}'
713+ merge-multiple : true
712714 path : sizes
713- - uses : actions/download-artifact@v2
715+ - uses : actions/download-artifact@v4
714716 if : ${{github.event_name == 'pull_request'}}
715717 continue-on-error : true
716718 with :
717- name : cov
719+ pattern : ' {cov,cov-*}'
720+ merge-multiple : true
718721 path : cov
719- - uses : actions/download-artifact@v2
722+ - uses : actions/download-artifact@v4
720723 if : ${{github.event_name == 'pull_request'}}
721724 continue-on-error : true
722725 with :
723- name : bench
726+ pattern : ' {bench,bench-*}'
727+ merge-multiple : true
724728 path : bench
725729
726730 # try to find results from tests
@@ -862,7 +866,7 @@ jobs:
862866 body: $comment,
863867 }' | tee comment/comment.json
864868 - name : upload-comment
865- uses : actions/upload-artifact@v2
869+ uses : actions/upload-artifact@v4
866870 with :
867871 name : comment
868872 path : comment
0 commit comments