From 64cb1a9cee5aab320011544baec7d1c25ab8dbab Mon Sep 17 00:00:00 2001 From: Phani Kumar Mallampati Date: Mon, 24 Jun 2024 13:02:11 -0700 Subject: [PATCH] Jenkins CI to GH actions --- .github/workflows/ci.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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