Documentation updated to add tool version description

This commit is contained in:
mahabaleshwars 2024-03-11 18:59:42 +05:30
parent 0d65cdab90
commit 4253d87ec0

View File

@ -528,6 +528,9 @@ steps:
## Java-version file
If the `java-version-file` input is specified, the action will try to extract the version from the file and install it.
Action is able to recognize all variants of the version description according to [jenv](https://github.com/jenv/jenv).
If both the java-version and the java-version-file inputs are provided then the java-version input is used.
.java-version and .tool-versions are the supported file.In .java-version file, only version should be specified e.g “17.0.7 ”while in .tool-versions file, java version should be followed java keyword e.g “java 17.0.7”.
Valid entry options:
```
major versions: 8, 11, 16, 17, 21