From d59f3768a1dd904bf053cb3cc6d562f1653d4994 Mon Sep 17 00:00:00 2001 From: Rossyn <118904953+AndroidWithRossyn@users.noreply.github.com> Date: Fri, 27 Sep 2024 18:48:30 +0530 Subject: [PATCH] Update android.yml --- .github/workflows/android.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 2f633b6..2afba2a 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -13,14 +13,16 @@ jobs: steps: - uses: actions/checkout@v4 - - name: set up JDK 11 + + - name: set up JDK 17 # Update to JDK 17 uses: actions/setup-java@v4 with: - java-version: '11' - distribution: 'temurin' + java-version: '17' # Switch to Java 17 + distribution: 'temurin' # Use the Temurin distribution cache: gradle - name: Grant execute permission for gradlew run: chmod +x gradlew + - name: Build with Gradle run: ./gradlew build