Setup Java JDK
Version updated for https://github.com/actions/setup-java to version v5.1.0.
- This publisher is shown as ‘verified’ by GitHub.
- This action is used across all versions by 994,610 repositories.
Go to the GitHub Marketplace to find the latest changes.
Release notes
What’s Changed
New Features
- Add support for
.sdkmanrcfile injava-version-fileparameter by @guicamest in https://github.com/actions/setup-java/pull/736 - Add support for Microsoft OpenJDK 25 builds by @the-mod in https://github.com/actions/setup-java/pull/927
Bug Fixes & Improvements
- Update Regex to Support All ASDF Versions for the supported distributions in tool-versions File by @aparnajyothi-y in https://github.com/actions/setup-java/pull/767
- Enhance error logging for network failures to include endpoint/IP details, add retry mechanism and update workflows to use macos-15-intel by @priya-kinthali in https://github.com/actions/setup-java/pull/946
- Update SapMachine URLs by @RealCLanger in https://github.com/actions/setup-java/pull/955
- Add GitHub Token Support for GraalVM and Refactor Code by @mahabaleshwars in https://github.com/actions/setup-java/pull/849
Documentation changes
- Update documentation to use checkout and Java v5 by @lmvysakh in https://github.com/actions/setup-java/pull/903
- Clarify JAVA_HOME and PATH setup in README by @chiranjib-swain in https://github.com/actions/setup-java/pull/841
Dependency updates
- Upgrade prettier from 2.8.8 to 3.6.2 and document breaking changes in v5 by @dependabot in https://github.com/actions/setup-java/pull/873
- Upgrade actions/publish-action from 0.3.0 to 0.4.0 by @dependabot in https://github.com/actions/setup-java/pull/912
New Contributors
- @lmvysakh made their first contribution in https://github.com/actions/setup-java/pull/903
- @chiranjib-swain made their first contribution in https://github.com/actions/setup-java/pull/841
- @the-mod made their first contribution in https://github.com/actions/setup-java/pull/927
- @priya-kinthali made their first contribution in https://github.com/actions/setup-java/pull/946
- @guicamest made their first contribution in https://github.com/actions/setup-java/pull/736
Full Changelog: https://github.com/actions/setup-java/compare/v5...v5.1.0