Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI by prefetching latest java candidate #49

Open
elliotweiser opened this issue Nov 13, 2019 · 1 comment
Open

Fix CI by prefetching latest java candidate #49

elliotweiser opened this issue Nov 13, 2019 · 1 comment

Comments

@elliotweiser
Copy link
Collaborator

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=

@elliotweiser
Copy link
Collaborator Author

I've asked about getting machine-parseable metadata in slack.sdkman.io. The candidates API doesn't seem to support it at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant