created gradle workflow

This commit is contained in:
CDaut 2022-03-27 20:59:38 +02:00 committed by CDaut
parent a4cb7da53f
commit 37980e8332

26
.github/workflows/android.yml vendored Normal file
View file

@ -0,0 +1,26 @@
name: Android CI
on:
push:
branches: [ app_dev ]
pull_request:
branches: [ app_dev ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./ClimateGoApp/gradlew build