From 5197df796a45e962c3e3b1e369ab750df696f69e Mon Sep 17 00:00:00 2001 From: Umer Farooq <35717992+umer0586@users.noreply.github.com> Date: Sat, 12 Oct 2024 20:14:20 +0500 Subject: [PATCH] Create build.yml --- .github/workflows/build.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..8231195 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,27 @@ +name: Android CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: set up JDK 19 + uses: actions/setup-java@v4 + with: + java-version: '19' + distribution: 'temurin' + cache: gradle + + - name: Grant execute permission for gradlew + run: chmod +x gradlew + - name: Build with Gradle + run: ./gradlew build