Add support for `.sdkmanrc` file in `java-version-file` parameter
Description:
Add support for .sdkmanrc file in java-version-file parameter.
Justification:
SDKMAN! is a popular package manager, especially for java ecosystem. Would be awesome to have an out of the box support for .sdkmanrc files in the same way as java-version-file currently supports .tool-versions by asdf.
Are you willing to submit a PR? I hope I can find some time to file a PR.
Hi @fabasoad 👋, Thank you for the feature request. We'll investigate it and get back to you as soon as we have updates.
Given the degree to which SDKMAN has proliferated, this would be helpful for keeping things DRY and not having to update versions in multiple places!
It seem there is now a PR for it https://github.com/actions/setup-java/pull/736 <3
Looking forward for the merge
Hi @fabasoad ,
Thanks for this feature request.
I'm happy to let you know that @guicamest has implemented support for .sdkmanrc in the java-version-file parameter in PR #736. The implementation includes tests and documentation updates.
To utilize this feature, Please use actions/setup-java@main branch in your workflows for now, and the changes will be reflected in the upcoming releases.
This feature is available in the action. Closing this issue as the feature has been implemented.
Thanks again for the suggestion!