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: 15.0.0-amzn
- uses: actions/setup-java@v1
id: setup-java
with:
java-version: 15.0.0
jdkFile: ${{ steps.sdkman.outputs.file }}
- run: java --version