Skip to content

Releases: actions/setup-java

v3.13.0

Choose a tag to compare

@IvanZosimov IvanZosimov released this 20 Sep 12:22
0ab4596

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

Choose a tag to compare

@IvanZosimov IvanZosimov released this 24 Jul 11:31
cd89f46

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

Choose a tag to compare

@dmitry-shibanov dmitry-shibanov released this 29 Mar 15:00
b6e674f

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

v2.5.1

Choose a tag to compare

@dmitry-shibanov dmitry-shibanov released this 28 Mar 12:05
91d3aa4

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

v3.11.0

Choose a tag to compare

@dmitry-shibanov dmitry-shibanov released this 27 Mar 14:55
5ffc13f

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

Choose a tag to compare

@dmitry-shibanov dmitry-shibanov released this 07 Feb 17:00
3f07048

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

v3.9.0

Choose a tag to compare

@dmitry-shibanov dmitry-shibanov released this 14 Dec 13:33
1df8dbe

In scope of this release we add support for .java-version file (#426). For more information about its usage please refer to the documentation.

    steps:
      - uses: actions/checkout@v3
      - name: Setup java
        uses: actions/setup-java@v3
        with:
          distribution: '<distribution>'
          java-version-file: .java-version
      - run: java HelloWorldApp.java

v3.8.0

Choose a tag to compare

@dmitry-shibanov dmitry-shibanov released this 06 Dec 14:20
c3ac5dd

In scope of this release we added logic to pass the token input through on GHES for Microsoft Build of OpenJDK (#395) and updated minimatch dependency.

v3.6.0

Choose a tag to compare

@dmitry-shibanov dmitry-shibanov released this 18 Oct 12:22
de1bb2b

In scope of this release we added Maven Toolchains Support and Maven Toolchains Declaration. Moreover, from this release we use os.arch to determine default architecture for runners: #376. Besides, we made such changes as:

v3.5.1

Choose a tag to compare

@dmitry-shibanov dmitry-shibanov released this 26 Sep 14:07
a18c333

In scope of this release we change logic for Microsoft Build of OpenJDK. Previously it had hard coded versions. In this release versions were moved to the separate json file. When a new version of Java is released, it can be added to this file and be used without releasing new version of the action.

  • Related pull request: #383