Skip to content

Commit

Permalink
Create android.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwanisingh8713 authored Mar 19, 2024
1 parent 4b3ef93 commit 8f03108
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Android CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- 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: Clean the build
run: ./gradlew clean
- name: Build with Gradle
run: ./gradlew build
- name: AssembleDebug with Gradle
run: ./gradlew assembleDebug
- name: Test with Gradle
run: ./gradlew test

0 comments on commit 8f03108

Please sign in to comment.