Skip to content

fix(ci): use temurin distribution for actions/setup-java v6 in reusable-maven - #511

Merged
book000 merged 1 commit into
masterfrom
fix/setup-java-v6-temurin-distribution
Sep 20, 2026
Merged

book000 merged 1 commit into
masterfrom
fix/setup-java-v6-temurin-distribution

Conversation

@akubiusa

Copy link
Copy Markdown
Contributor

Problem

actions/setup-java v6 removed the legacy adopt/adopt-openj9 distributions (upstream: actions/setup-java#1185). Renovate PR #488 bumps reusable-maven.yml's actions/setup-java from v5.7.0 to v6.0.1, but the workflow's "Set up JDK 17" step still hardcodes distribution: adopt, so Test reusable-maven / Maven build fails immediately with:

No supported distribution was found for input adopt

cascading to Test reusable-maven / Check finished Maven build and Test Summary Finished.

Fix

Change distribution: adopt to distribution: temurin (the maintained successor distribution) alongside the v6.0.1 bump, in .github/workflows/reusable-maven.yml.

Note: the workflow also declares a jdk-distribution workflow_call input 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-maven jobs that fail on #488.

Related: #488 (this PR supersedes it — safe to close #488 once this merges).

🤖 Generated with Claude Code

…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
book000 merged commit 42b9b0f into master Sep 20, 2026
29 checks passed
@book000
book000 deleted the fix/setup-java-v6-temurin-distribution branch September 20, 2026 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants