diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index beffbc1..47c8682 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,12 +18,17 @@ permissions: jobs: build: runs-on: ubuntu-latest + container: + image: docker://fabernovel/android:api-29-v1.1.0 steps: - uses: actions/checkout@v4 - - runs-on: ubuntu-22.04 # Works also with self hosted runner supporting docker - container: - image: docker://fabernovel/android:api-29-v1.1.0 + - name: set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' + cache: gradle - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle