Skip to content

deps: update actions/setup-java action to v5#2355

Open
renovate-bot wants to merge 1 commit intogoogleapis:mainfrom
renovate-bot:renovate/actions-setup-java-5.x
Open

deps: update actions/setup-java action to v5#2355
renovate-bot wants to merge 1 commit intogoogleapis:mainfrom
renovate-bot:renovate/actions-setup-java-5.x

Conversation

@renovate-bot
Copy link
Copy Markdown
Contributor

@renovate-bot renovate-bot commented Apr 10, 2026

This PR contains the following updates:

Package Type Update Change
actions/setup-java action major v3v5
actions/setup-java action major v4v5

Release Notes

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

v5.2.0

Compare Source

What's Changed
Enhancement
Documentation Changes
Dependency Updates
New Contributors

Full Changelog: actions/setup-java@v5...v5.2.0

v5.1.0

Compare Source

What's Changed
New Features
Bug Fixes & Improvements
Documentation changes
Dependency updates
New Contributors

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

v5.0.0

Compare Source

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

New Contributors

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

v5

Compare Source

v4.8.0

Compare Source

What's Changed

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

v4.7.1

Compare Source

What's Changed

Documentation changes
Dependency updates:

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

v4.7.0

Compare Source

What's Changed

New Contributors

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

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

v4.3.0

Compare Source

What's Changed

steps:
 - name: Checkout
   uses: actions/checkout@v4
 - name: Setup-java
   uses: actions/setup-java@v4
   with:
     distribution: 'sapmachine'
     java-version: '21'

Bug fixes :

New Contributors :

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

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

v4

Compare Source

v3.14.1

Compare Source

What's Changed

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

v3.14.0

Compare Source

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: actions/setup-java@v3...v3.14.0

v3.13.0

Compare Source

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: 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 (#​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 (#​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 (#​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 (#​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: #​376. Besides, we made such changes as:

v3.5.1

Compare Source

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.

v3.5.0

Compare Source

Add support for multiple jdks

In scope of this release we add support for multiple jdks. Customers can specify multiple versions of java through java-version input.

    steps:
      - uses: actions/setup-java@v3
        with:
          distribution: '<distribution>'
          java-version: |
            8
            11
            15
Besides, we added such changes as:
  • Removed restore-keys because it leaded to an unexpected growth of the cache: #​285
  • Added new files pattern for gradle cache: #​274
  • Added cache-hit output to the action.yml: #​373

v3.4.1

Compare Source

In scope of this release we updated actions/cache package as the new version contains fixes for caching error handling.

v3.4.0

Compare Source

In scope of this release we introduce such changes as:

  • Add Java 11.0.15 to Microsoft Build of OpenJDK: #​331
  • Update versions for Java 17 to 17.0.3 and add aarch64 support to Java 11 for Microsoft Build of OpenJDK: #​342
  • Fix support for Zulu OpenJDK arm64 architecture: #​339
  • Sbt-cache: don't cache some files: #​332

v3.3.0

Compare Source

In scope of this pull request we add support for Amazon Corretto Build of OpenJDK (#​312).

steps:
  - name: Checkout
    uses: actions/checkout@v3
  - name: Setup-java
    uses: actions/setup-java@v3
    with:
      distribution: corretto
      java-version: 11
Supported distributions

Currently, the following distributions are supported:

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

v3.2.0

Compare Source

This release introduces dependency caching support for sbt (#​302).

Caching sbt dependencies
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
  with:
    distribution: 'temurin'
    java-version: '11'
    cache: 'sbt'
- name: Build with SBT
  run: sbt package

v3.1.1

Compare Source

This release introduces new output cache-hit (#​275) and update of actions/cache dependency to 2.0.2 (#​317)

Add "cache-hit" output

The cache-hit output contains boolean value indicating that an exact match was found for the key. It shows that the action uses already existing cache or not. The output is available only if cache is enabled.

Update actions/cache to 2.0.2

We updated actions/cache package as the new version contains fixes related to GHES 3.5 (#​317)

v3.1.0

Compare Source

In scope of this release we added support for caching from GHES 3.5 and fixed download issue for files > 2GB during restore.

Updated dependencies:
  • bumped minimist from 1.2.5 to 1.2.6.
  • updated actions/cache dependency to 2.0.0 version

Configuration

📅 Schedule: (UTC)

  • 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-bot renovate-bot requested review from a team as code owners April 10, 2026 02:06
@product-auto-label product-auto-label Bot added size: s Pull request size is small. api: firestore Issues related to the googleapis/java-firestore API. labels Apr 10, 2026
@dpebot
Copy link
Copy Markdown

dpebot commented Apr 10, 2026

/gcbrun

@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 10, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 10, 2026
@renovate-bot renovate-bot force-pushed the renovate/actions-setup-java-5.x branch from 4ce5547 to 36460a0 Compare April 15, 2026 09:52
@dpebot
Copy link
Copy Markdown

dpebot commented Apr 15, 2026

/gcbrun

@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 15, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 15, 2026
@renovate-bot renovate-bot force-pushed the renovate/actions-setup-java-5.x branch from 36460a0 to d357c34 Compare April 16, 2026 15:16
@dpebot
Copy link
Copy Markdown

dpebot commented Apr 16, 2026

/gcbrun

@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 16, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 16, 2026
@renovate-bot renovate-bot force-pushed the renovate/actions-setup-java-5.x branch from d357c34 to ce18e68 Compare April 16, 2026 20:53
@dpebot
Copy link
Copy Markdown

dpebot commented Apr 16, 2026

/gcbrun

@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 16, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 16, 2026
@renovate-bot renovate-bot force-pushed the renovate/actions-setup-java-5.x branch from ce18e68 to d176dcc Compare April 21, 2026 17:04
@dpebot
Copy link
Copy Markdown

dpebot commented Apr 21, 2026

/gcbrun

@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 21, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: firestore Issues related to the googleapis/java-firestore API. size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants