Skip to content

Commit

Permalink
Merge pull request #1 from brookmg/feat/workflow
Browse files Browse the repository at this point in the history
Add github action tests
  • Loading branch information
brookmg authored Jan 5, 2021
2 parents 69420e4 + fad676d commit e66ea19
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e66ea19

Please sign in to comment.