V3 - Bumps @action/cache to 4.0.3 (#790)

* actions-cache upgrade to 4.0.3 on node 16

* npm audit fix

* macos-latest to macos-13

* macos-latest to macos-13

* ubuntu-latest to ubuntu-22-04

* Step to install sbt and dragonwell fix for 11

* dragonwell fix

* dragonwell fix

* dragonwell check failure fix

* dragonwell check failures-fix

* check failures fix

* check failures fix

* check failure fix

* fix check-failures for dragonwell

* macos-latest to macos-13

* ubuntu-latest to ubuntu-22.04
This commit is contained in:
aparnajyothi-y
2025-04-15 09:00:12 +05:30
committed by GitHub
parent 0ab4596768
commit dda1638bc0
24 changed files with 66250 additions and 5247 deletions

View File

@@ -149,9 +149,14 @@ export class DragonwellDistribution extends JavaBase {
// Some version of Dragonwell JDK are numerated with help of non-semver notation (more then 3 digits).
// Common practice is to transform excess digits to the so-called semver build part, which is prefixed with the plus sign, to be able to operate with them using semver tools.
if (jdkVersion.split('.').length > 3) {
jdkVersion = convertVersionToSemver(jdkVersion);
}
const jdkVersionNums: string[] = jdkVersion
.replace('+', '.')
.split('.');
jdkVersion = convertVersionToSemver(
`${jdkVersionNums.slice(0, 3).join('.')}.${
jdkVersionNums[jdkVersionNums.length - 1]
}`
);
for (const edition in archMap) {
eligibleVersions.push({