Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update actions/setup-java action to v4 #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jan 12, 2025

This PR contains the following updates:

Package Type Update Change
actions/setup-java action major v3.5.1 -> v4.6.0
actions/setup-java action major v1 -> v4

Release Notes

actions/setup-java (actions/setup-java)

v4.6.0

Compare Source

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: actions/setup-java@v4...v4.6.0

v4.5.0

Compare Source

What's Changed

Bug fixes:
New Contributors:

Full Changelog: actions/setup-java@v4...v4.5.0

v4.4.0

Compare Source

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'

Bug fixes :

New Contributors

Full Changelog: actions/setup-java@v4...v4.4.0

v4.3.0

Compare Source

v4.2.2

Compare Source

What's Changed


Bug fixes:
Documentation changes
Dependency updates:

Full Changelog: actions/setup-java@v4...v4.2.2

v4.2.1

Compare Source

What's Changed

Full Changelog: actions/setup-java@v4...v4.2.1

v4.2.0

Compare Source

What's Changed
New Contributors

v4.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: actions/setup-java@v4...v4.1.0

v4.0.0

Compare Source

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

New Contributors

Full Changelog: actions/setup-java@v3...v4.0.0

v3.13.0

Compare Source

What's changed

In the scope of this release, support for Dragonwell JDK was added by @​Accelerator1996 in https://github.com/actions/setup-java/pull/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: actions/setup-java@v3...v3.13.0

v3.12.0

Compare Source

In scope of this release the following changes were made:

Bug fixes:

Feature implementations:

Resolving dependencies issues:

Infrastructure updates:

Documentation changes:

New Contributors

Full Changelog: actions/setup-java@v3...v3.12.0

v3.11.0

Compare Source

In scope of this release we added support for IBM Semeru (OpenJ9) JDK (https://github.com/actions/setup-java/pull/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

Compare Source

In scope of this release we added support for Oracle JDK (https://github.com/actions/setup-java/pull/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

Compare Source

In scope of this release we add support for .java-version file (https://github.com/actions/setup-java/pull/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

Compare Source

In scope of this release we added logic to pass the token input through on GHES for Microsoft Build of OpenJDK (https://github.com/actions/setup-java/pull/395) and updated minimatch dependency.

v3.6.0

Compare Source

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: https://github.com/actions/setup-java/pull/376. Besides, we made such changes as:


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from AndroidPoet as a code owner January 12, 2025 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants