Skip to content

Use the runners' cached Temurin JDKs in CI - #161

Merged
slachiewicz merged 1 commit into
masterfrom
agent/temurin-toolcache
Oct 12, 2026
Merged

slachiewicz merged 1 commit into
masterfrom
agent/temurin-toolcache

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

The shared workflow defaults to Zulu, which every job downloads from Azul's CDN (a stalled download cancelled a license-maven-plugin job after 30 minutes). GitHub's runners have Temurin 8, 11, 17, 21 and 25 in their tool cache, so setup-java now uses those without a download. Temurin has no JDK 8 for macOS on Apple Silicon, which this repository's matrix does not test.

Verified: mojohaus/keytool pilot run, every Ubuntu and Windows JDK resolved from the tool cache.

Part of mojohaus/.github#15.

@slachiewicz slachiewicz added the build Pull requests that change the build process label Oct 12, 2026
@slachiewicz
slachiewicz merged commit 8e70141 into master Oct 12, 2026
15 checks passed
@slachiewicz
slachiewicz deleted the agent/temurin-toolcache branch October 12, 2026 10:24
@github-actions github-actions Bot added this to the 2.0.3 milestone Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Pull requests that change the build process

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant