From 8df0e92b61dc4382588dd9c92a9beba96e2c5107 Mon Sep 17 00:00:00 2001 From: Christophe Beyls Date: Fri, 24 May 2024 00:58:57 +0200 Subject: [PATCH] chore(CI): use setup-gradle action and more efficient cache --- .github/workflows/android.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 4a723064..144c0586 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -16,11 +16,11 @@ jobs: - name: set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '21' distribution: 'temurin' - cache: gradle - - - name: Grant execute permission for gradlew - run: chmod +x gradlew + java-version: '21' + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 + with: + validate-wrappers: true - name: Build with Gradle run: ./gradlew clean assembleRelease