File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build APK
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+
7+ jobs :
8+ build :
9+
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v1
14+ - name : Set up JDK 12
15+ uses : actions/setup-java@v1
16+ with :
17+ java-version : 12
18+
19+ # Cache gradle
20+ - name : Cache Gradle and Wrapper
21+ uses : actions/cache@v2
22+ with :
23+ path : |
24+ ~/.gradle/caches
25+ ~/.gradle/wrapper
26+ key : cache-${{ runner.os }}-${{ matrix.jdk }}-gradle-${{ hashFiles('**/*.gradle*') }}
27+ restore-keys : |
28+ ${{ runner.os }}-gradle-
29+
30+ - name : Grant Permission to Execute
31+ run : chmod +x gradlew
32+
33+ - name : Build Debug APK
34+ run : bash ./gradlew assembleDebug --stacktrace
35+
36+ - name : Upload Build Debug APK
37+ uses : actions/upload-artifact@v1
38+ with :
39+ name : app
40+ path : app/build/outputs/apk/debug/app-debug.apk
You can’t perform that action at this time.
0 commit comments