diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index ed02340..95a7147 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -21,6 +21,12 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '17' + check-latest: true + cache: 'gradle' - name: Unit tests run: bash ./gradlew test --stacktrace @@ -30,6 +36,12 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '17' + check-latest: true + cache: 'gradle' - name: Build debug AAR run: bash ./gradlew assemble --stacktrace - name: Upload AAR