@@ -257,7 +257,7 @@ jobs:
257257 key : maven-repo-${{ hashFiles('**/pom.xml') }}
258258 restore-keys : |
259259 maven-repo-
260- if : ${{ !contains('author,bats,docs ', matrix.check) }}
260+ if : ${{ !contains('author,bats', matrix.check) }}
261261 - name : Download Ratis repo
262262 if : ${{ inputs.ratis_args != '' }}
263263 uses : actions/download-artifact@v4
@@ -343,6 +343,15 @@ jobs:
343343 uses : actions/checkout@v4
344344 with :
345345 ref : ${{ needs.build-info.outputs.sha }}
346+ - name : Cache for maven dependencies
347+ uses : actions/cache/restore@v4
348+ with :
349+ path : |
350+ ~/.m2/repository/*/*/*
351+ !~/.m2/repository/org/apache/ozone
352+ key : maven-repo-${{ hashFiles('**/pom.xml') }}
353+ restore-keys : |
354+ maven-repo-
346355 - name : Download compiled Ozone binaries
347356 uses : actions/download-artifact@v4
348357 with :
@@ -486,6 +495,15 @@ jobs:
486495 uses : actions/checkout@v4
487496 with :
488497 ref : ${{ needs.build-info.outputs.sha }}
498+ - name : Cache for maven dependencies
499+ uses : actions/cache/restore@v4
500+ with :
501+ path : |
502+ ~/.m2/repository/*/*/*
503+ !~/.m2/repository/org/apache/ozone
504+ key : maven-repo-${{ hashFiles('**/pom.xml') }}
505+ restore-keys : |
506+ maven-repo-
489507 - name : Download compiled Ozone binaries
490508 uses : actions/download-artifact@v4
491509 with :
@@ -530,6 +548,15 @@ jobs:
530548 uses : actions/checkout@v4
531549 with :
532550 ref : ${{ needs.build-info.outputs.sha }}
551+ - name : Cache for maven dependencies
552+ uses : actions/cache/restore@v4
553+ with :
554+ path : |
555+ ~/.m2/repository/*/*/*
556+ !~/.m2/repository/org/apache/ozone
557+ key : maven-repo-${{ hashFiles('**/pom.xml') }}
558+ restore-keys : |
559+ maven-repo-
533560 - name : Download compiled Ozone binaries
534561 uses : actions/download-artifact@v4
535562 with :
0 commit comments