SDKMAN does not like to keep around old sdks, so pinning to a specific version of Java for CI doesn't work out so well and means the test playbook needs to be constantly fixed. It would be better to pre-fetch the latest version of e.g. adoptopenjdk using the candidates API
e.g. https://api.sdkman.io/2/candidates/java/linux/versions/list?installed=
SDKMAN does not like to keep around old sdks, so pinning to a specific version of Java for CI doesn't work out so well and means the test playbook needs to be constantly fixed. It would be better to pre-fetch the latest version of e.g. adoptopenjdk using the candidates API
e.g.
https://api.sdkman.io/2/candidates/java/linux/versions/list?installed=