Skip to content

ci: use temurin distribution for setup-java - #52

Merged
zimeg merged 1 commit into
mainfrom
ci/setup-java-temurin
Aug 12, 2026
Merged

ci: use temurin distribution for setup-java#52
zimeg merged 1 commit into
mainfrom
ci/setup-java-temurin

Conversation

@zimeg

@zimeg zimeg commented Aug 12, 2026

Copy link
Copy Markdown
Member

Summary

The adopt (AdoptOpenJDK) distribution used by actions/setup-java is deprecated and slated for removal in setup-java v6, surfacing a deprecation warning on every CI run:

The 'adopt' legacy AdoptOpenJDK distribution is deprecated and will be removed in setup-java v6. Please migrate to the 'temurin' distribution.

This switches the distribution to temurin (Eclipse Temurin), the direct successor to AdoptOpenJDK, clearing the warning. No functional change — same JDK 17, same vendor lineage.

Changes

  • .github/workflows/test.yml: distribution: "adopt""temurin"

Test plan

  • CI runs on this PR; the Install JDK step should no longer emit the deprecation annotation.

The 'adopt' (AdoptOpenJDK) distribution is deprecated and slated for
removal in setup-java v6. Switch to its successor, Eclipse Temurin, to
clear the CI deprecation warning.
@zimeg
zimeg requested a review from a team as a code owner August 12, 2026 03:40
@zimeg zimeg self-assigned this Aug 12, 2026
@zimeg zimeg added update PR only - an update or maintenance is being made to an existing app dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Aug 12, 2026
@zimeg

zimeg commented Aug 12, 2026

Copy link
Copy Markdown
Member Author

@zimeg
zimeg merged commit 5455176 into main Aug 12, 2026
3 checks passed
@zimeg
zimeg deleted the ci/setup-java-temurin branch August 12, 2026 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code update PR only - an update or maintenance is being made to an existing app

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant