Skip to content

Commit 3927f47

Browse files
Merge pull request actions#489 from anishi1222/main
Update versions of Oracle JDK and Microsoft Build of OpenJDK
2 parents ddb82ce + cb77eb7 commit 3927f47

File tree

4 files changed

+316
-20
lines changed

4 files changed

+316
-20
lines changed

.github/workflows/e2e-versions.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
'semeru',
3232
'corretto'
3333
] # internally 'adopt-hotspot' is the same as 'adopt'
34-
version: ['8', '11', '16']
34+
version: ['8', '11', '17']
3535
exclude:
3636
- distribution: microsoft
3737
version: 8
@@ -41,10 +41,10 @@ jobs:
4141
version: 17
4242
- distribution: oracle
4343
os: windows-latest
44-
version: 19
44+
version: 20
4545
- distribution: oracle
4646
os: ubuntu-latest
47-
version: 19
47+
version: 20
4848
steps:
4949
- name: Checkout
5050
uses: actions/checkout@v3
@@ -70,11 +70,11 @@ jobs:
7070
version:
7171
- '11.0'
7272
- '8.0.302'
73-
- '16.0.2+7'
73+
- '17.0.7+7'
7474
include:
7575
- distribution: oracle
7676
os: ubuntu-latest
77-
version: '19.0.1'
77+
version: '20.0.1'
7878
steps:
7979
- name: Checkout
8080
uses: actions/checkout@v3

__tests__/distributors/microsoft-installer.test.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ describe('findPackageForDownload', () => {
3636
],
3737
[
3838
'17.x',
39-
'17.0.3',
40-
'https://aka.ms/download-jdk/microsoft-jdk-17.0.3-{{OS_TYPE}}-x64.{{ARCHIVE_TYPE}}'
39+
'17.0.7',
40+
'https://aka.ms/download-jdk/microsoft-jdk-17.0.7-{{OS_TYPE}}-x64.{{ARCHIVE_TYPE}}'
4141
],
4242
[
4343
'16.0.x',
@@ -53,6 +53,11 @@ describe('findPackageForDownload', () => {
5353
'11.0.15',
5454
'11.0.15',
5555
'https://aka.ms/download-jdk/microsoft-jdk-11.0.15-{{OS_TYPE}}-x64.{{ARCHIVE_TYPE}}'
56+
],
57+
[
58+
'11.x',
59+
'11.0.19',
60+
'https://aka.ms/download-jdk/microsoft-jdk-11.0.19-{{OS_TYPE}}-x64.{{ARCHIVE_TYPE}}'
5661
]
5762
])('version is %s -> %s', async (input, expectedVersion, expectedUrl) => {
5863
const result = await distribution['findPackageForDownload'](input);
@@ -97,7 +102,7 @@ describe('findPackageForDownload', () => {
97102
});
98103

99104
const result = await distro['findPackageForDownload'](version);
100-
const expectedUrl = `https://aka.ms/download-jdk/microsoft-jdk-17.0.3-linux-${distroArch}.tar.gz`;
105+
const expectedUrl = `https://aka.ms/download-jdk/microsoft-jdk-17.0.7-linux-${distroArch}.tar.gz`;
101106

102107
expect(result.url).toBe(expectedUrl);
103108
}

__tests__/distributors/oracle-installer.test.ts

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,14 @@ describe('findPackageForDownload', () => {
2121

2222
it.each([
2323
[
24-
'19',
25-
'19',
26-
'https://download.oracle.com/java/19/latest/jdk-19_{{OS_TYPE}}-x64_bin.{{ARCHIVE_TYPE}}'
24+
'20',
25+
'20',
26+
'https://download.oracle.com/java/20/latest/jdk-20_{{OS_TYPE}}-x64_bin.{{ARCHIVE_TYPE}}'
2727
],
2828
[
29-
'19.0.1',
30-
'19.0.1',
31-
'https://download.oracle.com/java/19/archive/jdk-19.0.1_{{OS_TYPE}}-x64_bin.{{ARCHIVE_TYPE}}'
32-
],
33-
[
34-
'18.0.2.1',
35-
'18.0.2.1',
36-
'https://download.oracle.com/java/18/archive/jdk-18.0.2.1_{{OS_TYPE}}-x64_bin.{{ARCHIVE_TYPE}}'
29+
'20.0.1',
30+
'20.0.1',
31+
'https://download.oracle.com/java/20/archive/jdk-20.0.1_{{OS_TYPE}}-x64_bin.{{ARCHIVE_TYPE}}'
3732
],
3833
[
3934
'17',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy