Releases · actions/setup-java

v5.2.0

v5.1.0

What's Changed

New Features

  • Add support for .sdkmanrc file in java-version-file parameter by @guicamest in #736
  • Add support for Microsoft OpenJDK 25 builds by @the-mod in #927

Bug Fixes & Improvements

  • Update Regex to Support All ASDF Versions for the supported distributions in tool-versions File by @aparnajyothi-y in #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 #946
  • Update SapMachine URLs by @RealCLanger in #955
  • Add GitHub Token Support for GraalVM and Refactor Code by @mahabaleshwars in #849

Documentation changes

Dependency updates

  • Upgrade prettier from 2.8.8 to 3.6.2 and document breaking changes in v5 by @dependabot in #873
  • Upgrade actions/publish-action from 0.3.0 to 0.4.0 by @dependabot in #912

New Contributors

Full Changelog: v5...v5.1.0

v4.8.0

v5.0.0

v3.14.1

v3.14.0

What's Changed

  • Upgrade @action/cache to 4.0.3 by @aparnajyothi-y in #790.
    In scope of this release we updated actions/cache package to ensure continued support and compatibility, as older versions of the package are now deprecated. For more information please refer to the toolkit/cache.

Full Changelog: v3...v3.14.0

v4.7.1

v4.7.0

v4.6.0

What's Changed

Add-ons:

 - name: Checkout
   uses: actions/checkout@v4
 - name: Setup-java
   uses: actions/setup-java@v4
   with:
     distribution: ‘jetbrains’
     java-version: '21'

Bug fixes:

New Contributors

Full Changelog: v4...v4.6.0

v4.5.0