mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 18:06:45 +00:00
Rebuild action
This commit is contained in:
parent
8fd3868fc5
commit
36571034fa
1 changed files with 1 additions and 1 deletions
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
|
@ -104298,7 +104298,7 @@ class CorrettoDistribution extends base_installer_1.JavaBase {
|
||||||
return match[1];
|
return match[1];
|
||||||
}
|
}
|
||||||
convertVersionToSemver(version) {
|
convertVersionToSemver(version) {
|
||||||
// corretto uses 5 digit semver-like notation e.g. 17.0.6.10.1
|
// corretto uses semver-like notation e.g. 17.0.6.10.1
|
||||||
const versionArray = version.split('.');
|
const versionArray = version.split('.');
|
||||||
const mainVersion = versionArray.slice(0, 3).join('.');
|
const mainVersion = versionArray.slice(0, 3).join('.');
|
||||||
if (versionArray.length > 3) {
|
if (versionArray.length > 3) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue