Repository navigation
fix(ci): use temurin distribution for actions/setup-java v6 in reusable-maven - #511
Merged
Merged
Conversation
…le-maven actions/setup-java v6 removed the legacy adopt/adopt-openj9 distributions, so the reusable-maven workflow's JDK setup step now fails with 'No supported distribution was found for input adopt'. Switch to temurin, the maintained successor distribution, and bump setup-java to v6.0.1 (the version the pending Renovate PR proposes) in the same change. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
book000
approved these changes
Sep 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
actions/setup-javav6 removed the legacyadopt/adopt-openj9distributions (upstream: actions/setup-java#1185). Renovate PR #488 bumpsreusable-maven.yml'sactions/setup-javafrom v5.7.0 to v6.0.1, but the workflow's "Set up JDK 17" step still hardcodesdistribution: adopt, soTest reusable-maven / Maven buildfails immediately with:cascading to
Test reusable-maven / Check finished Maven buildandTest Summary Finished.Fix
Change
distribution: adopttodistribution: temurin(the maintained successor distribution) alongside the v6.0.1 bump, in.github/workflows/reusable-maven.yml.Note: the workflow also declares a
jdk-distributionworkflow_callinput that is never actually wired into this step (it's a pre-existing dead input) — left untouched, out of scope for this fix.Verification
CI on this PR exercises the same
Test reusable-mavenjobs that fail on #488.Related: #488 (this PR supersedes it — safe to close #488 once this merges).
🤖 Generated with Claude Code