Skip to content

Releases: actions/setup-java

v5.1.0

04 Dec 02:55
f2beeb2

Choose a tag to compare

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

04 Dec 03:00
c1e3236

Choose a tag to compare

What's Changed

Full Changelog: v4...v4.8.0

v5.0.0

21 Aug 03:19
dded088

Choose a tag to compare

What's Changed

Breaking Changes

Make sure your runner is updated to this version or newer to use this release. v2.327.1 Release Notes

Dependency Upgrades

Bug Fixes

  • Prevent default installation of JetBrains pre-releases by @priyagupta108 in #859
  • Improve Error Handling for Setup-Java Action to Help Debug Intermittent Failures by @gowridurgad in #848

New Contributors

Full Changelog: v4...v5.0.0

v3.14.1

17 Apr 03:06
17f84c3

Choose a tag to compare

What's Changed

  • Add workflow file for publishing releases to immutable action package by @aparnajyothi-y in #797

Full Changelog: v3...v3.14.1

v3.14.0

15 Apr 03:39
dda1638

Choose a tag to compare

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

09 Apr 02:58
c5195ef

Choose a tag to compare

What's Changed

Documentation changes

  • Add Documentation to Recommend Using GraalVM JDK 17 Version to 17.0.12 to Align with GFTC License Terms by @aparnajyothi-y in #704
  • Remove duplicated GraalVM section in documentation by @Marcono1234 in #716

Dependency updates:

Full Changelog: v4...v4.7.1

v4.7.0

29 Jan 03:24
3a4f6e1

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4...v4.7.0

v4.6.0

18 Dec 03:49
7a6d8a8

Choose a tag to compare

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

24 Oct 13:59
8df1039

Choose a tag to compare

What's Changed

Bug fixes:

  • Improve archive extraction on windows runners without powershell core and Update micromatch dependency by @priyagupta108 in #689
  • Update workflows for GraalVM and Version Enhancements by @mahabaleshwars in #699
  • Refine isGhes logic by @jww3 in #697

New Contributors:

Full Changelog: v4...v4.5.0

v4.4.0

24 Sep 14:04
b36c23c

Choose a tag to compare

What's Changed

Add-ons :

steps:
 - name: Checkout
   uses: actions/checkout@v4
 - name: Setup-java
   uses: actions/setup-java@v4
   with:
     distribution: 'graalvm'
     java-version: '21'
  • Add workflow file for publishing releases to immutable action package by @Jcambass in #684

Bug fixes :

  • Add architecture to cache key by @Zxilly in #664
    This addresses issues with caching by adding the architecture (arch) to the cache key, ensuring that cache keys are accurate to prevent conflicts.
    Note: This change may break previous cache keys as they will no longer be compatible with the new format.
  • Resolve check failures by @aparnajyothi-y in #687

New Contributors

Full Changelog: v4...v4.4.0