From 956c3a2cfa1502ef54654f6149b4cae4430f9132 Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Sat, 24 Oct 2026 23:52:45 +0200 Subject: [PATCH] Revert "Save caches only from the default branch and .x lines" This branch pins actions/setup-java@v4, which has neither cache-jdk nor cache-read-only; it ignored both and warned on every run. v4 does not cache JDKs, so the change has nothing to do here. --- .github/workflows/maven-verify.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/maven-verify.yml b/.github/workflows/maven-verify.yml index 7a5773b1c..88dc78402 100644 --- a/.github/workflows/maven-verify.yml +++ b/.github/workflows/maven-verify.yml @@ -47,9 +47,6 @@ jobs: java-version: ${{ matrix.java }} distribution: 'temurin' cache: 'maven' - cache-jdk: false - # only pushes to the default branch and .x lines save; other branches and pull requests restore - cache-read-only: ${{ !(github.event_name == 'push' && (github.ref_name == github.event.repository.default_branch || endsWith(github.ref_name, '.x'))) }} - name: Set up Maven run: mvn --errors --batch-mode --show-version wrapper:wrapper "-Dtype=only-script" "-Dmaven=3.9.7"