Releases: joschi/setup-jdk
v2.5.1
🚨 Important Notice
The joschi/setup-jdk GitHub Action is deprecated.
Please consider switching to the official actions/setup-java action v2 or later which also supports AdoptOpenJDK and its successor Eclipse Temurin:
https://github.com/actions/setup-java/tree/v2.5.0#basic
In order to migrate to actions/setup-java it is sufficient to replace the name of the action and set the distribution
parameter to temurin
.
Before:
steps:
- uses: actions/checkout@v2
- uses: joschi/setup-jdk@v2
with:
java-version: '11' # The OpenJDK version to make available on the path
architecture: 'x64' # defaults to 'x64'
- run: java -cp java HelloWorldApp
After:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v3
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '11'
architecture: 'x64' # defaults to 'x64'
- run: java -cp java HelloWorldApp
What's Changed
- Bump minimist from 1.2.5 to 1.2.6 by @dependabot in #26
- Bump tmpl from 1.0.4 to 1.0.5 by @dependabot in #27
- Add deprecation warning by @joschi in #29
Full Changelog: v2.4.0...v2.5.1
v2.5.0
🚨 Important Notice
The joschi/setup-jdk GitHub Action is deprecated.
Please consider switching to the official actions/setup-java action v2 or later which also supports AdoptOpenJDK and its successor Eclipse Temurin:
https://github.com/actions/setup-java/tree/v2.5.0#basic
In order to migrate to actions/setup-java it is sufficient to replace the name of the action and set the distribution
parameter to temurin
.
Before:
steps:
- uses: actions/checkout@v2
- uses: joschi/setup-jdk@v2
with:
java-version: '11' # The OpenJDK version to make available on the path
architecture: 'x64' # defaults to 'x64'
- run: java -cp java HelloWorldApp
After:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v3
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '11'
architecture: 'x64' # defaults to 'x64'
- run: java -cp java HelloWorldApp
What's Changed
- Bump minimist from 1.2.5 to 1.2.6 by @dependabot in #26
- Bump tmpl from 1.0.4 to 1.0.5 by @dependabot in #27
- Add deprecation warning by @joschi in #29
Full Changelog: v2.4.0...v2.5.0
v2.4.0
v2.3.0
v2.2.0
v2.1.0: Support aliases for JDK architecture (#8)
Support aliases for JDK architecture (#8)
Instead of only supporting the exact architecture terminology used by AdoptOpenJDK,
joschi/setup-jdk
now also support aliases such as x86
or i686
for x32
and
amd64
or x86_64
for x64
.
v2.0.0: Rebase joschi/setup-jdk action on actions/setup-java
Rebased on actions/setup-java to get the latest features while still using AdoptOpenJDK instead of Zulu Community.
v1.1.2: Update dependencies
Security
- Fixes security vulnerability in
@actions/http-client
: GHSA-9w6v-m7wp-jwg4
v1.1.1
- Refresh dependencies (#4)
v1.1.0
- Migrated to AdoptOpenJDK API v3 (#2)