Skip to content

Commit 36c53a0

Browse files
authored
Merge branch 'apache:master' into HDDS-11881
2 parents 060c2d1 + 9854591 commit 36c53a0

File tree

2 files changed

+29
-2
lines changed

2 files changed

+29
-2
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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:

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1974,7 +1974,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
19741974
<execution>
19751975
<phase>package</phase>
19761976
<goals>
1977-
<goal>makeAggregateBom</goal>
1977+
<goal>makeBom</goal>
19781978
</goals>
19791979
</execution>
19801980
</executions>

0 commit comments

Comments
 (0)