Update JDK to 17 (from 1.8). Required for current cmdline-tools

This commit is contained in:
Vilius Sutkus '89 2023-09-25 03:03:19 +03:00
parent bc52f43eb3
commit 26c86ac3f5
2 changed files with 8 additions and 2 deletions

View file

@ -72,6 +72,12 @@ jobs:
with: with:
node-version: '16' node-version: '16'
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'adopt'
- run: npm ci - run: npm ci
- run: npm run build - run: npm run build

View file

@ -35,10 +35,10 @@ jobs:
with: with:
path: ./build/ path: ./build/
- name: Set up JDK 1.8 - name: Set up JDK 17
uses: actions/setup-java@v3 uses: actions/setup-java@v3
with: with:
java-version: 1.8 java-version: 17
distribution: 'adopt' distribution: 'adopt'
- name: Setup Android SDK - name: Setup Android SDK