Skip to content

Releases: actions/setup-java

v4.2.1

14 Mar 14:29
99b8673
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4...v4.2.1

v4.2.0

13 Mar 13:43
5896cec
Compare
Choose a tag to compare

What's Changed

New Contributors

V4.1.0

28 Feb 05:25
9704b39
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4...v4.1.0

v4.0.0

29 Nov 14:29
387ac29
Compare
Choose a tag to compare

What's Changed

In the scope of this release, the version of the Node.js runtime was updated to 20. The majority of dependencies were updated to the latest versions. From now on, the code for the setup-java will run on Node.js 20 instead of Node.js 16.

Breaking changes

Non-breaking changes

  • Adding support for microsoft openjdk 21.0.0 by @ralfstuckert in #546
  • Update @actions/cache dependency and documentation by @IvanZosimov in #549
  • Implementation of the cache-dependency-path option to control caching dependency by @itchyny in #499

New Contributors

Full Changelog: v3...v4.0.0

v3.13.0

20 Sep 12:22
0ab4596
Compare
Choose a tag to compare

What's changed

In the scope of this release, support for Dragonwell JDK was added by @Accelerator1996 in #532

steps:
 - name: Checkout
   uses: actions/checkout@v3
 - name: Setup-java
   uses: actions/setup-java@v3
   with:
     distribution: 'dragonwell'
     java-version: '17'

Several inaccuracies were also fixed:

New Contributors

Full Changelog: v3...v3.13.0

v3.12.0

24 Jul 11:31
cd89f46
Compare
Choose a tag to compare

In scope of this release the following changes were made:

Bug fixes:

Feature implementations:

Resolving dependencies issues:

Infrastructure updates:

Documentation changes:

  • Instruction to download custom distribution JDK and install by @ragsmpl in #500

New Contributors

Full Changelog: v3...v3.12.0

v1.4.4

29 Mar 15:00
b6e674f
Compare
Choose a tag to compare

In scope of this release we updated actions/core to 1.10.0 for v1: #467

v2.5.1

28 Mar 12:05
91d3aa4
Compare
Choose a tag to compare

In scope of this release we updated actions/core to 1.10.0 for v2 major tag: #466

v3.11.0

27 Mar 14:55
5ffc13f
Compare
Choose a tag to compare

In scope of this release we added support for IBM Semeru (OpenJ9) JDK (#289).

steps:
 - name: Checkout
   uses: actions/checkout@v3
 - name: Setup-java
   uses: actions/setup-java@v3
   with:
     distribution: semeru
     java-version: 17

Supported distributions

Currently, the following distributions are supported:

Keyword Distribution Official site License
temurin Eclipse Temurin Link Link
zulu Azul Zulu OpenJDK Link Link
adopt or adopt-hotspot AdoptOpenJDK Hotspot Link Link
adopt-openj9 AdoptOpenJDK OpenJ9 Link Link
liberica Liberica JDK Link Link
microsoft Microsoft Build of OpenJDK Link Link
corretto Amazon Corretto Build of OpenJDK Link Link
semeru IBM Semeru Runtime Open Edition Link Link
oracle Oracle JDK Link Link

v3.10.0

07 Feb 17:00
3f07048
Compare
Choose a tag to compare

In scope of this release we added support for Oracle JDK (#450).

steps:
 - name: Checkout
  uses: actions/checkout@v3
 - name: Setup-java
  uses: actions/setup-java@v3
  with:
   distribution: oracle
   java-version: 17

Supported distributions

Currently, the following distributions are supported:

Keyword Distribution Official site License
temurin Eclipse Temurin Link Link
zulu Azul Zulu OpenJDK Link Link
adopt or adopt-hotspot AdoptOpenJDK Hotspot Link Link
adopt-openj9 AdoptOpenJDK OpenJ9 Link Link
liberica Liberica JDK Link Link
microsoft Microsoft Build of OpenJDK Link Link
corretto Amazon Corretto Build of OpenJDK Link Link
oracle Oracle JDK Link Link