This repository has been archived by the owner on Dec 6, 2022. It is now read-only.
🚨 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