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