From 90338bf0215f542b3b16f2c93d26c386d0e16759 Mon Sep 17 00:00:00 2001 From: Bart Louwers Date: Wed, 9 Oct 2024 08:06:16 +0200 Subject: [PATCH] Use Java 17 in android-ci and android-release --- .github/workflows/android-ci.yml | 7 ++++++- .github/workflows/android-release.yml | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/android-ci.yml b/.github/workflows/android-ci.yml index cc63858547d..cc94c55af9e 100644 --- a/.github/workflows/android-ci.yml +++ b/.github/workflows/android-ci.yml @@ -41,7 +41,12 @@ jobs: with: submodules: recursive fetch-depth: 0 - + + - uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '17' + - name: Cache node modules uses: actions/cache@v3 env: diff --git a/.github/workflows/android-release.yml b/.github/workflows/android-release.yml index ec1ce406d7e..a8e6952936e 100644 --- a/.github/workflows/android-release.yml +++ b/.github/workflows/android-release.yml @@ -20,6 +20,11 @@ jobs: submodules: recursive fetch-depth: 0 + - uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '17' + - name: Ensure source code revision run: scripts/ensure-code-revision.sh working-directory: platform/android