From 0c53ab3ac7ca72253fa47f74bcf562dde452515f Mon Sep 17 00:00:00 2001 From: Oscar Franco Date: Sat, 2 Dec 2023 07:29:38 +0100 Subject: [PATCH] Update JDK Setup --- .github/workflows/build-android.yml | 4 +++- .github/workflows/validate-android.yml | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-android.yml b/.github/workflows/build-android.yml index 0689a825..b78cec76 100644 --- a/.github/workflows/build-android.yml +++ b/.github/workflows/build-android.yml @@ -26,9 +26,11 @@ jobs: - uses: actions/checkout@v2 - name: Setup JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: + distribution: zulu java-version: 11 + cache: gradle - name: Get yarn cache directory path id: yarn-cache-dir-path diff --git a/.github/workflows/validate-android.yml b/.github/workflows/validate-android.yml index 5a8a44b5..fe9c68ad 100644 --- a/.github/workflows/validate-android.yml +++ b/.github/workflows/validate-android.yml @@ -23,10 +23,13 @@ jobs: working-directory: ./android steps: - uses: actions/checkout@v2 + - name: Setup JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: + distribution: zulu java-version: 11 + cache: gradle - name: Get yarn cache directory path id: yarn-cache-dir-path