From 26c86ac3f5a40124c509fb02fcafec5db7dc7c02 Mon Sep 17 00:00:00 2001 From: Vilius Sutkus '89 Date: Mon, 25 Sep 2023 03:03:19 +0300 Subject: [PATCH] Update JDK to 17 (from 1.8). Required for current cmdline-tools --- .github/workflows/build-test.yml | 6 ++++++ .github/workflows/run.yml | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 7b8e8ee..1fe60eb 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -72,6 +72,12 @@ jobs: with: node-version: '16' + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: 17 + distribution: 'adopt' + - run: npm ci - run: npm run build diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 84541fd..49464ce 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -35,10 +35,10 @@ jobs: with: path: ./build/ - - name: Set up JDK 1.8 + - name: Set up JDK 17 uses: actions/setup-java@v3 with: - java-version: 1.8 + java-version: 17 distribution: 'adopt' - name: Setup Android SDK