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 v3 - autoclosed #24

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 7, 2022

Mend Renovate logo banner

This PR contains the following updates:

Package Type Update Change
actions/setup-java action major v2.1.0 -> v3.13.0

Release Notes

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

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:

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:

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:

v3.3.0

Compare Source

In scope of this pull request we add support for Amazon Corretto Build of OpenJDK (https://github.com/actions/setup-java/pull/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 (https://github.com/actions/setup-java/pull/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 (https://github.com/actions/setup-java/pull/275) and update of actions/cache dependency to 2.0.2 (https://github.com/actions/setup-java/pull/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 (https://github.com/actions/setup-java/pull/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

v3.0.0

Compare Source

In scope of this release we changed version of the runtime Node.js for the setup-java action and updated package-lock.json file to v2.

Breaking Changes

With the update to Node 16 in #​290, all scripts will now be run with Node 16 rather than Node 12.

v2.5.1

Compare Source

In scope of this release we updated actions/core to 1.10.0 for v2 major tag: https://github.com/actions/setup-java/pull/466

v2.5.0

Compare Source

In scope of this pull request we add support for Microsoft Build of OpenJDK (https://github.com/actions/setup-java/pull/252).

steps:
  - name: Checkout
    uses: actions/checkout@v2
  - name: Setup-java
    uses: actions/setup-java@v2
    with:
      distribution: microsoft
      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

v2.4.0

Compare Source

In scope of this pull request we add support for Liberica JDK (https://github.com/actions/setup-java/pull/225).

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

Currently, the following distributions are supported:

Keyword Distribution Official site License
zulu Zulu OpenJDK Link Link
adopt or adopt-hotspot Adopt OpenJDK Hotspot Link Link
adopt-openj9 Adopt OpenJDK OpenJ9 Link Link
temurin Eclipse Temurin Link Link
liberica Liberica JDK Link Link
Update actions/cache dependency to 1.0.8 version.

We updated actions/cache depdendency to the latest version (1.0.8). For more information please refer to the toolkit/cache.

v2.3.1

Compare Source

In this release we updated dependencies from the dependabot. In scope of this pull request http-client version was bumped https://github.com/actions/setup-java/pull/222. Besides the release resolves possible issues related to removing gpg private key pull request https://github.com/actions/setup-java/pull/226.

v2.3.0

Compare Source

This release introduces dependency caching support (#​193).

Now the action has a built-in functionality for caching and restoring dependencies. Supported package managers are Maven and Gradle. The cache input is optional, and caching is turned off by default.

Caching gradle dependencies
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
  with:
    distribution: 'temurin'
    java-version: '11'
    cache: 'gradle'
- run: ./gradlew build
Caching maven dependencies
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
  with:
    distribution: 'temurin'
    java-version: '11'
    cache: 'maven'
- name: Build with Maven
  run: mvn -B package --file pom.xml

v2.2.0

Compare Source

Add support for Eclipse Temurin (#​201).

Supported distributions

Currently, the following distributions are supported:

Keyword Distribution Official site License
zulu Zulu OpenJDK Link Link
adopt or adopt-hotspot Adopt OpenJDK Hotspot Link Link
adopt-openj9 Adopt OpenJDK OpenJ9 Link Link
temurin Eclipse Temurin Link Link

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 this update again.


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

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/actions-setup-java-3.x branch from 9cf6565 to 871090d Compare April 24, 2022 18:21
@renovate renovate bot force-pushed the renovate/actions-setup-java-3.x branch from 871090d to 9856edd Compare May 15, 2022 23:53
@renovate renovate bot force-pushed the renovate/actions-setup-java-3.x branch from 9856edd to 2879cc1 Compare June 23, 2022 23:46
@renovate renovate bot force-pushed the renovate/actions-setup-java-3.x branch from 2879cc1 to 785a270 Compare September 25, 2022 23:08
@renovate renovate bot force-pushed the renovate/actions-setup-java-3.x branch from 785a270 to 791bfa4 Compare November 20, 2022 12:20
@renovate renovate bot force-pushed the renovate/actions-setup-java-3.x branch from 791bfa4 to 79ed44b Compare March 17, 2023 00:02
@renovate renovate bot force-pushed the renovate/actions-setup-java-3.x branch from 79ed44b to 6daf2ce Compare March 27, 2023 21:58
@renovate renovate bot force-pushed the renovate/actions-setup-java-3.x branch from 6daf2ce to 1508cab Compare July 24, 2023 13:44
@renovate renovate bot force-pushed the renovate/actions-setup-java-3.x branch from 1508cab to 5585837 Compare September 20, 2023 12:26
@renovate renovate bot changed the title Update actions/setup-java action to v3 Update actions/setup-java action to v3 - autoclosed Nov 29, 2023
@renovate renovate bot closed this Nov 29, 2023
@renovate renovate bot deleted the renovate/actions-setup-java-3.x branch November 29, 2023 18:02
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