diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 456036c63..8cbbc8998 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -14,18 +14,23 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - name: set up JDK 1.8 - uses: actions/setup-java@v1 + - uses: actions/checkout@v4 with: - java-version: 1.8 - + submodules: recursive + + - name: set up JDK 8.0.422+5 + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '8.0.422+5' + - name: Gradle Wrapper Validation - uses: gradle/wrapper-validation-action@v1.0.4 + uses: gradle/actions/wrapper-validation@v4 + - name: Make gradlew executable run: chmod +x ./gradlew - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: | ~/.gradle/caches @@ -44,12 +49,13 @@ jobs: run: ./gradlew lintVitalRelease - name: Upload artifacts (debug apk) - uses: actions/upload-artifact@v3.0.0 + uses: actions/upload-artifact@v4 with: name: app path: app/build/outputs/apk/debug/app-debug.apk + - name: Upload artifacts (lint results) - uses: actions/upload-artifact@v3.0.0 + uses: actions/upload-artifact@v4 with: name: lint-results.html path: app/build/reports/lint-results.html