mirror of
https://github.com/actions/setup-java.git
synced 2025-08-20 03:31: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:
|
release:
|
||||||
types: [released]
|
types: [released]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -17,5 +18,4 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Publish
|
- name: Publish
|
||||||
id: publish
|
id: publish
|
||||||
|
|
||||||
uses: actions/publish-immutable-action@v0.0.4
|
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
|
LTS versions : temurin-21.0.5+11.0.LTS
|
||||||
```
|
```
|
||||||
If the file contains multiple versions, only the first one will be recognized.
|
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),
|
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).
|
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.
|
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.
|
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