Skip to content

Commit

Permalink
Documentation updated to add tool version description
Browse files Browse the repository at this point in the history
  • Loading branch information
mahabaleshwars committed Mar 11, 2024
1 parent 0d65cda commit 4253d87
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/advanced-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4253d87

Please sign in to comment.