Skip to content

Replace deprecated 'adopt' distribution with 'temurin' in GitHub Actions#1723

Open
Copilot wants to merge 2 commits intomainfrom
copilot/update-github-workflow-distribution
Open

Replace deprecated 'adopt' distribution with 'temurin' in GitHub Actions#1723
Copilot wants to merge 2 commits intomainfrom
copilot/update-github-workflow-distribution

Conversation

Copy link
Contributor

Copilot AI commented Feb 9, 2026

The adopt distribution for actions/setup-java is deprecated and will be removed in future versions. Replaced all occurrences with temurin, the recommended successor.

Changes

  • .github/workflows/javaci.yml: Updated both java-check and java-test jobs
  • .github/actions/format/action.yml: Updated JDK setup step
# Before
distribution: 'adopt'

# After
distribution: 'temurin'

All other workflows already use temurin or alternative distributions (zulu for SonarCloud).

Original prompt

This section details on the original issue you should resolve

<issue_title>GitHub workflow: adopt distribution for actions/setup-java is deprecated </issue_title>
<issue_description>high

The adopt distribution for actions/setup-java is deprecated and will be removed in a future version. It is recommended to use temurin instead, which was the value used previously. Using a deprecated value could cause this action to fail in the future.

        distribution: 'temurin'

Originally posted by @gemini-code-assist[bot] in #1721 (comment)
</issue_description>

<agent_instructions>Check all GitHub workflows</agent_instructions>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…flows

Co-authored-by: gcatanese <1771700+gcatanese@users.noreply.github.com>
Copilot AI changed the title [WIP] Update deprecated distribution for actions/setup-java Replace deprecated 'adopt' distribution with 'temurin' in GitHub Actions Feb 9, 2026
Copilot AI requested a review from gcatanese February 9, 2026 14:46
@gcatanese gcatanese marked this pull request as ready for review February 9, 2026 14:57
@gcatanese gcatanese requested review from a team as code owners February 9, 2026 14:57
@gcatanese gcatanese enabled auto-merge February 9, 2026 16:06
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.

GitHub workflow: adopt distribution for actions/setup-java is deprecated

2 participants