mirror of
https://github.com/actions/setup-java.git
synced 2025-06-28 20:14:14 +00:00
regex and docmentation update
This commit is contained in:
parent
cda1881001
commit
448250764a
5 changed files with 11 additions and 4 deletions
|
@ -617,3 +617,11 @@ 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:
|
||||
In some complex version strings containing multiple version-like segments (e.g., java semeru-openj9-11.0.15+10_openj9-0.32.0),
|
||||
the regular expression may extract the last version segment (0.32.0) instead of the intended main version (11.0.15+10).
|
||||
Additionally, the regex is designed to support standard semantic versioning (semver) formats
|
||||
and may not correctly parse non-standard formats such as jetbrains-21b212.1.
|
||||
Users are encouraged to provide clear, semver-compliant version specifications to ensure accurate extraction.
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue