mirror of
https://github.com/actions/setup-java.git
synced 2025-09-10 20:47:06 +00:00
Merge 7b9321c8d0
into d0351b4837
This commit is contained in:
commit
80924fbf50
6 changed files with 9 additions and 4 deletions
|
@ -614,5 +614,9 @@ major versions: 8, 11, 16, 17, 21
|
|||
more specific versions: 8.0.282+8, 8.0.232, 11.0, 11.0.4, 17.0
|
||||
early access (EA) versions: 15-ea, 15.0.0-ea
|
||||
versions with specified distribution: openjdk64-11.0.2
|
||||
LTS versions : temurin-21.0.5+11.0.LTS
|
||||
```
|
||||
If the file contains multiple versions, only the first one will be recognized.
|
||||
|
||||
***NOTE***:
|
||||
For the tool-version file, ensure that you use standard semantic versioning (semver) formats, as non-standard formats (such as jetbrains-21b212.1) may not be parsed correctly. Additionally, for complex version strings containing multiple version-like segments (for example, java semeru-openj9-11.0.15+10_openj9-0.32.0), the extraction logic may incorrectly capture the last segment (0.32.0) instead of the main version (11.0.15+10).
|
Loading…
Add table
Add a link
Reference in a new issue