From c4961798ce199175aec1e2f5d86d3a555463f8fe Mon Sep 17 00:00:00 2001 From: Stefan Niedermann Date: Wed, 17 Jan 2024 13:15:03 +0100 Subject: [PATCH] chore(ci): Use Java 17 in CI Signed-off-by: Stefan Niedermann --- .github/workflows/android.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index ed02340..95a7147 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -21,6 +21,12 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '17' + check-latest: true + cache: 'gradle' - name: Unit tests run: bash ./gradlew test --stacktrace @@ -30,6 +36,12 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '17' + check-latest: true + cache: 'gradle' - name: Build debug AAR run: bash ./gradlew assemble --stacktrace - name: Upload AAR