From bc41da253169f9d60b9cfc5e4c5b0016e94bd2ac Mon Sep 17 00:00:00 2001 From: deniscerri <64997243+deniscerri@users.noreply.github.com> Date: Sun, 19 Mar 2023 22:06:47 +0100 Subject: [PATCH] Update android.yml --- .github/workflows/android.yml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index c37817b2..13fb4987 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -12,9 +12,16 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout the code - uses: actions/checkout@v3 - - name: Grant execute permission for gradlew - run: chmod +x gradlew - - name: Build the app - run: ./gradlew build + - uses: actions/checkout@v3 + - name: set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' + cache: gradle + - name: Create Local Properties File + run: touch local.properties + - name: Grant execute permission for gradlew + run: chmod +x gradlew + - name: Build with Gradle + run: ./gradlew build