Setup Java JDK
Version updated for https://github.com/actions/setup-java to version v5.2.0.
- This publisher is shown as ‘verified’ by GitHub.
- This action is used across all versions by 1,000,726 repositories.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
The setup-java GitHub Action automates the process of setting up specific Java versions and distributions on GitHub Actions runners, enabling seamless integration with Java and Scala projects. It simplifies tasks like managing Java installations, configuring build tools (Maven, Gradle, sbt), caching dependencies, handling GPG keys, and supporting Maven toolchains. This action streamlines Java project workflows by reducing manual setup overhead and enhancing build performance through dependency caching.
Release notes
What’s Changed
Enhancement
- Retry on HTTP 522 Connection timed out by @findepi in https://github.com/actions/setup-java/pull/964
Documentation Changes
- Update gradle caching by @priya-kinthali in https://github.com/actions/setup-java/pull/972
- Update checkout to v6 by @mahabaleshwars in https://github.com/actions/setup-java/pull/973
Dependency Updates
- Upgrade @actions/cache to v5 by @salmanmkc in https://github.com/actions/setup-java/pull/968
- Upgrade actions/checkout from 5 to 6 by @dependabot in https://github.com/actions/setup-java/pull/961
New Contributors
- @findepi made their first contribution in https://github.com/actions/setup-java/pull/964
Full Changelog: https://github.com/actions/setup-java/compare/v5...v5.2.0