Create call_nc_getstats.sh #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: androidbuild | |
on: [ push, pull_request, workflow_dispatch ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Put gradle.properties settings | |
run: | | |
touch gradle.properties | |
echo android.useAndroidX=true >> gradle.properties | |
echo org.gradle.jvmargs=-Xmx4096M >> gradle.properties | |
- name: Building | |
run: ./gradlew build -x test --info --stacktrace | |
- name: Test | |
run: ./gradlew test --info --stacktrace | |
- name: Clean | |
run: rm -f $HOME/.gradle/caches/modules-2/modules-2.lock | |
- name: Cache | |
uses: actions/cache@v2 | |
with: | |
path: | | |
$HOME/.m2/ | |
$HOME/.gradle/caches/ | |
$HOME/.gradle/wrapper/ | |
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }} |