From fad676d2df0e8baa280c4377eccda7ccabcd4743 Mon Sep 17 00:00:00 2001 From: Brook Mezgebu Date: Tue, 5 Jan 2021 21:25:26 +0300 Subject: [PATCH] github: add github action tests --- .github/workflows/android.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/android.yml diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml new file mode 100644 index 0000000..26bc281 --- /dev/null +++ b/.github/workflows/android.yml @@ -0,0 +1,24 @@ +name: Android CI + +on: [push, pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: actions/cache@v2 + with: + path: ~/.gradle/caches + key: gradle-${{ runner.os }}-${{ hashFiles('**/build.gradle') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} + + - name: set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + - name: Make gradlew executable + run: chmod +x ./gradlew + - name: Build with Gradle + run: ./gradlew build \ No newline at end of file