This is an automated email from the ASF dual-hosted git repository.
lewismc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nutch.git
The following commit(s) were added to refs/heads/master by this push:
new 4207bc313 NUTCH-3148 Cache Ivy dependencies in GitHub CI builds (#886)
4207bc313 is described below
commit 4207bc31301d16ddd789e8da74fd3d342b809ba9
Author: Lewis John McGibbney <[email protected]>
AuthorDate: Mon Jan 12 14:53:56 2026 -0800
NUTCH-3148 Cache Ivy dependencies in GitHub CI builds (#886)
---
.github/workflows/master-build.yml | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/.github/workflows/master-build.yml
b/.github/workflows/master-build.yml
index 495c4e318..153c09b93 100644
--- a/.github/workflows/master-build.yml
+++ b/.github/workflows/master-build.yml
@@ -34,6 +34,13 @@ jobs:
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
+ - name: Cache Ivy dependencies
+ uses: actions/cache@v4
+ with:
+ path: ~/.ivy2/cache
+ key: ${{ runner.os }}-ivy-${{ hashFiles('ivy/ivy.xml',
'src/plugin/**/ivy.xml') }}
+ restore-keys: |
+ ${{ runner.os }}-ivy-
- name: Javadoc
run: ant clean javadoc -buildfile build.xml
rat:
@@ -49,6 +56,13 @@ jobs:
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
+ - name: Cache Ivy dependencies
+ uses: actions/cache@v4
+ with:
+ path: ~/.ivy2/cache
+ key: ${{ runner.os }}-ivy-${{ hashFiles('ivy/ivy.xml',
'src/plugin/**/ivy.xml') }}
+ restore-keys: |
+ ${{ runner.os }}-ivy-
- name: Run Apache Rat
run: ant clean run-rat -buildfile build.xml
- name: Cache unknown licenses
@@ -73,6 +87,13 @@ jobs:
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
+ - name: Cache Ivy dependencies
+ uses: actions/cache@v4
+ with:
+ path: ~/.ivy2/cache
+ key: ${{ runner.os }}-ivy-${{ hashFiles('ivy/ivy.xml',
'src/plugin/**/ivy.xml') }}
+ restore-keys: |
+ ${{ runner.os }}-ivy-
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
id: filter
with: