mirror of
https://github.com/actions/setup-java.git
synced 2025-07-23 15:08:26 +02:00
Add 'latest' as alias for version 'x'
While it is possible to specify that you want the latest JDK version by using semver X-Ranges (like 'x' for example), 'latest' is more readable as explicitly states the intention.
This commit is contained in:
parent
5c87b70ffe
commit
3edd66d1b0
2 changed files with 8 additions and 0 deletions
|
@ -36,6 +36,8 @@ Examples of version specifications that the java-version parameter will accept:
|
|||
|
||||
e.g. ```8.0.x, >11.0.3, >=13.0.1, <8.0.212```
|
||||
|
||||
e.g. ```latest``` (same as ```x```)
|
||||
|
||||
- An early access (EA) Java version
|
||||
|
||||
e.g. ```14-ea, 15-ea```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue