|
@@ -1,5 +1,5 @@
|
|
|
-name: Pull request build check
|
|
|
-on: [pull_request]
|
|
|
+name: Build check
|
|
|
+on: [push, pull_request]
|
|
|
|
|
|
jobs:
|
|
|
build:
|
|
@@ -8,11 +8,16 @@ jobs:
|
|
|
steps:
|
|
|
- name: Clone repo
|
|
|
uses: actions/checkout@v2
|
|
|
+
|
|
|
+ - name: Validate Gradle Wrapper
|
|
|
+ uses: gradle/wrapper-validation-action@v1
|
|
|
+
|
|
|
- name: Set up JDK 1.8
|
|
|
uses: actions/setup-java@v1
|
|
|
with:
|
|
|
java-version: 1.8
|
|
|
- name: Install NDK
|
|
|
- run: sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install "ndk;21.0.6113669"
|
|
|
- - name: Build project
|
|
|
- run: ./gradlew assembleDebug
|
|
|
+ run: sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install "ndk;21.0.6113669" &> /dev/null
|
|
|
+
|
|
|
+ - name: Build app
|
|
|
+ run: ./gradlew assembleStandardDebug
|