From 80b9a9a6cfd8d3f40b916db5b5ec743b974912ee Mon Sep 17 00:00:00 2001 From: Kacper Kafara Date: Thu, 14 Sep 2023 19:50:21 +0200 Subject: [PATCH] fix(CI): run Android e2e with JDK 17 (#1892) ## Description Attempt to improve our e2e CI run time by adding cache for JDK setup. Also use JDK 17, it is not necessary yet, but it will be soon as AGP 8.0 requires it. ## Changes Upgraded JDK to 17 & added JDK cache. I've also experimented with running on `ubuntu-latest` instead of `macos-12` however emulator fails to start in such case. ## Checklist - [x] Ensured that CI passes --- .github/workflows/android-e2e-test.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/android-e2e-test.yml b/.github/workflows/android-e2e-test.yml index 0049581fa4..c791a3e2a8 100644 --- a/.github/workflows/android-e2e-test.yml +++ b/.github/workflows/android-e2e-test.yml @@ -24,10 +24,12 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - name: Set up JDK 11 - uses: actions/setup-java@v1 + - name: Set up JDK 17 + uses: actions/setup-java@v3 with: - java-version: '11' + java-version: '17' + distribution: 'zulu' + cache: 'gradle' - name: Use Node.js 18 uses: actions/setup-node@v3 with: