Skip to content

Commit 26c86ac

Browse files
Update JDK to 17 (from 1.8). Required for current cmdline-tools
1 parent bc52f43 commit 26c86ac

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/build-test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ jobs:
7272
with:
7373
node-version: '16'
7474

75+
- name: Set up JDK 17
76+
uses: actions/setup-java@v3
77+
with:
78+
java-version: 17
79+
distribution: 'adopt'
80+
7581
- run: npm ci
7682
- run: npm run build
7783

.github/workflows/run.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ jobs:
3535
with:
3636
path: ./build/
3737

38-
- name: Set up JDK 1.8
38+
- name: Set up JDK 17
3939
uses: actions/setup-java@v3
4040
with:
41-
java-version: 1.8
41+
java-version: 17
4242
distribution: 'adopt'
4343

4444
- name: Setup Android SDK

0 commit comments

Comments
 (0)