SlimeTinker
SlimeTinker copied to clipboard
Update actions/setup-java action to v3.5.0
This PR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
actions/setup-java | action | minor | v3.1.1 -> v3.5.0 |
Release Notes
actions/setup-java
v3.5.0
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: https://github.com/actions/setup-java/pull/285
- Added new files pattern for gradle cache: https://github.com/actions/setup-java/pull/274
- Added cache-hit output to the action.yml: https://github.com/actions/setup-java/pull/373
v3.4.1
In scope of this release we updated actions/cache
package as the new version contains fixes for caching error handling.
v3.4.0
In scope of this release we introduce such changes as:
- Add Java 11.0.15 to Microsoft Build of OpenJDK: https://github.com/actions/setup-java/pull/331
- Update versions for Java 17 to 17.0.3 and add aarch64 support to Java 11 for Microsoft Build of OpenJDK: https://github.com/actions/setup-java/pull/342
- Fix support for
Zulu OpenJDK
arm64 architecture: https://github.com/actions/setup-java/pull/339 -
Sbt-cache
: don't cache some files: https://github.com/actions/setup-java/pull/332
v3.3.0
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
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
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, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.