This action installs any candidate via sdkman.
Required The name of the candidate to install.
Required The version of the candidate to install.
Filename of the downloaded archive.
- uses: sdkman/sdkman-action@master
id: sdkman
with:
candidate: java
version: 19.0.1-tem
- uses: actions/setup-java@v1
id: setup-java
with:
java-version: 19.0.1
jdkFile: ${{ steps.sdkman.outputs.file }}
- run: java --version