Apache Nutch is an extensible and scalable web crawler
NUTCH-3148 Cache Ivy dependencies in GitHub CI builds (#886)
Lewis John McGibbney4207bc31301d
diff --git a/.github/workflows/master-build.yml b/.github/workflows/master-build.ymlindex 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: Javadocrun: ant clean javadoc -buildfile build.xmlrat:@@ -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 Ratrun: 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@de90cc6fb38fc0963ad72b210f1f284cd68cea36id: filterwith: