This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new af345b23df HDDS-11877. Enable Maven cache for more checks (#7538)
af345b23df is described below
commit af345b23df535cb1f1bca550fa8c9f52dac44aea
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Sun Dec 8 15:26:42 2024 +0100
HDDS-11877. Enable Maven cache for more checks (#7538)
---
.github/workflows/ci.yml | 29 ++++++++++++++++++++++++++++-
1 file changed, 28 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a8854aa697..8e5fa28eac 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -257,7 +257,7 @@ jobs:
key: maven-repo-${{ hashFiles('**/pom.xml') }}
restore-keys: |
maven-repo-
- if: ${{ !contains('author,bats,docs', matrix.check) }}
+ if: ${{ !contains('author,bats', matrix.check) }}
- name: Download Ratis repo
if: ${{ inputs.ratis_args != '' }}
uses: actions/download-artifact@v4
@@ -343,6 +343,15 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ needs.build-info.outputs.sha }}
+ - name: Cache for maven dependencies
+ uses: actions/cache/restore@v4
+ with:
+ path: |
+ ~/.m2/repository/*/*/*
+ !~/.m2/repository/org/apache/ozone
+ key: maven-repo-${{ hashFiles('**/pom.xml') }}
+ restore-keys: |
+ maven-repo-
- name: Download compiled Ozone binaries
uses: actions/download-artifact@v4
with:
@@ -486,6 +495,15 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ needs.build-info.outputs.sha }}
+ - name: Cache for maven dependencies
+ uses: actions/cache/restore@v4
+ with:
+ path: |
+ ~/.m2/repository/*/*/*
+ !~/.m2/repository/org/apache/ozone
+ key: maven-repo-${{ hashFiles('**/pom.xml') }}
+ restore-keys: |
+ maven-repo-
- name: Download compiled Ozone binaries
uses: actions/download-artifact@v4
with:
@@ -530,6 +548,15 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ needs.build-info.outputs.sha }}
+ - name: Cache for maven dependencies
+ uses: actions/cache/restore@v4
+ with:
+ path: |
+ ~/.m2/repository/*/*/*
+ !~/.m2/repository/org/apache/ozone
+ key: maven-repo-${{ hashFiles('**/pom.xml') }}
+ restore-keys: |
+ maven-repo-
- name: Download compiled Ozone binaries
uses: actions/download-artifact@v4
with:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]