Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.
Compare
Choose a tag to compare
@joschi joschi released this 27 May 20:00
· 1 commit to main since this release

🚨 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

Full Changelog: v2.4.0...v2.5.1