Skip to content

Remove check-latest from setup-java to use cached JDK#511

Merged
sleberknight merged 1 commit into
mainfrom
remove-check-latest
Jun 6, 2026
Merged

Remove check-latest from setup-java to use cached JDK#511
sleberknight merged 1 commit into
mainfrom
remove-check-latest

Conversation

@sleberknight

Copy link
Copy Markdown
Member

Remove check-latest: true from the setup-java step. With it set, the action always resolves the newest patch version which may not be cached on the runner, causing a download on every build. Removing it allows GitHub-hosted runners to use the pre-cached Temurin LTS distributions instead.

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.
@sleberknight sleberknight added this to the 4.2.0 milestone Jun 6, 2026
@sleberknight sleberknight added the infrastructure Changes to build, deployment, code analysis tools, and other project infrastructure label Jun 6, 2026
@sleberknight sleberknight self-assigned this Jun 6, 2026
@sonarqubecloud

sonarqubecloud Bot commented Jun 6, 2026

Copy link
Copy Markdown

@sleberknight sleberknight merged commit e2c7fe7 into main Jun 6, 2026
9 checks passed
@sleberknight sleberknight deleted the remove-check-latest branch June 6, 2026 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Changes to build, deployment, code analysis tools, and other project infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant