mirror of
https://github.com/actions/setup-java.git
synced 2025-08-19 11:21:02 +00:00
format and doc update
This commit is contained in:
parent
c981c0e4b4
commit
250752c67e
2 changed files with 4 additions and 5 deletions
|
@ -4,6 +4,7 @@ on:
|
|||
release:
|
||||
types: [released]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -17,5 +18,4 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
- name: Publish
|
||||
id: publish
|
||||
|
||||
uses: actions/publish-immutable-action@v0.0.4
|
||||
|
|
|
@ -617,11 +617,10 @@ 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:
|
||||
***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
|
||||
Additionally, Recommended to use supported 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