Compare commits

..

11 Commits

Author SHA1 Message Date
Aparna Jyothi
fdb3be11b9 ubuntu-latest to ubuntu-22.04 2025-04-15 08:40:08 +05:30
Aparna Jyothi
ba6f50b348 macos-latest to macos-13 2025-04-15 08:25:33 +05:30
Aparna Jyothi
679410561c fix check-failures for dragonwell 2025-04-14 13:18:29 +05:30
Aparna Jyothi
72c9ce2c84 check failure fix 2025-04-11 13:38:34 +05:30
Aparna Jyothi
8286b98650 check failures fix 2025-04-11 13:19:53 +05:30
Aparna Jyothi
24a47ec582 check failures fix 2025-04-11 13:06:15 +05:30
Aparna Jyothi
fd07d32b82 dragonwell check failures-fix 2025-04-11 13:01:48 +05:30
Aparna Jyothi
daeeba334d dragonwell check failure fix 2025-04-11 12:40:21 +05:30
Aparna Jyothi
39dad2981b dragonwell fix 2025-04-11 12:22:01 +05:30
Aparna Jyothi
837769072b dragonwell fix 2025-04-11 12:16:59 +05:30
Aparna Jyothi
31c9df3d55 Step to install sbt and dragonwell fix for 11 2025-04-11 12:06:12 +05:30
4 changed files with 24 additions and 13 deletions

View File

@@ -132,6 +132,11 @@ jobs:
distribution: 'adopt'
java-version: '11'
cache: sbt
- name: Setup SBT
if: matrix.os == 'macos-13'
run: |
echo ""Installing SBT...""
brew install sbt
- name: Create files to cache
run: sbt update

View File

@@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-13, windows-latest, ubuntu-latest]
os: [macos-13, windows-2022, ubuntu-22.04]
distribution: [
'temurin',
'adopt',
@@ -37,10 +37,10 @@ jobs:
- distribution: microsoft
version: 8
- distribution: dragonwell
os: macos-latest
os: macos-13
include:
- distribution: oracle
os: macos-latest
os: macos-13
version: 17
- distribution: oracle
os: windows-latest
@@ -69,7 +69,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
os: [macos-13, windows-latest, ubuntu-latest]
distribution: ['temurin', 'zulu', 'liberica']
version:
- '11.0'
@@ -171,7 +171,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
os: [macos-13, windows-latest, ubuntu-latest]
version: ['17-ea', '15.0.0-ea.14']
steps:
- name: Checkout
@@ -215,7 +215,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
os: [macos-13, windows-latest, ubuntu-latest]
distribution: ['temurin', 'zulu', 'liberica', 'semeru']
java-package: ['jre']
version: ['17.0']
@@ -263,7 +263,7 @@ jobs:
fail-fast: false
matrix:
# x86 is not supported on macOS
os: [windows-latest, ubuntu-latest]
os: [windows-latest, ubuntu-22.04]
distribution: ['liberica', 'zulu', 'corretto']
version: ['11']
steps:

7
dist/setup/index.js vendored
View File

@@ -130914,9 +130914,10 @@ class DragonwellDistribution extends base_installer_1.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 = util_1.convertVersionToSemver(jdkVersion);
}
const jdkVersionNums = jdkVersion
.replace('+', '.')
.split('.');
jdkVersion = util_1.convertVersionToSemver(`${jdkVersionNums.slice(0, 3).join('.')}.${jdkVersionNums[jdkVersionNums.length - 1]}`);
for (const edition in archMap) {
eligibleVersions.push({
os: platform,

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({