From bcad26eff934b17df24d2b0bfdb82c0499e355c9 Mon Sep 17 00:00:00 2001 From: Scott Leberknight <174812+sleberknight@users.noreply.github.com> Date: Fri, 5 Jun 2026 22:27:02 -0400 Subject: [PATCH] Remove check-latest from setup-java to use cached JDK With check-latest: true, setup-java always resolves the newest patch version which may not be cached on the runner, causing a download. Removing it allows GitHub-hosted runners to use the pre-cached LTS Temurin distributions instead. --- .github/workflows/build.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 65a59fc..338430f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,6 @@ jobs: with: java-version: ${{ matrix.java_version }} distribution: 'temurin' - check-latest: true # Cache all the things - name: Cache SonarCloud packages