mirror of
https://gitea.com/actions/setup-java.git
synced 2025-11-07 02:36:26 +08:00
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:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user