This repository was archived by the owner on May 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed
Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Generate APK Debug
2+
3+ on :
4+ # Triggers the workflow on push or pull request events but only for default and protected branches
5+ push :
6+ branches :
7+ - master
8+ - debug
9+ pull_request :
10+ branches :
11+ - master
12+ - debug
13+ jobs :
14+ build :
15+
16+ runs-on : ubuntu-latest
17+
18+ steps :
19+ - uses : actions/checkout@v1
20+
21+ - name : Set Up JDK
22+ uses : actions/setup-java@v1
23+ with :
24+ java-version : 11
25+
26+ - name : Change wrapper permissions
27+ run : chmod +x ./gradlew
28+
29+ - name : Run tests
30+ run : ./gradlew test
31+
32+ # Create APK Debug
33+ - name : Build apk debug
34+ run : ./gradlew assembleDebug
35+
36+ # Upload Artifact Build
37+ # Noted For Output [module-name]/build/outputs/apk
38+ - name : Upload apk debug
39+ uses : actions/upload-artifact@v2
40+ with :
41+ name : FoxMmm-debug.apk
42+ path : app/build/outputs/apk/default/debug/app-default-debug.apk
43+
44+ - name : Upload apk debug-fdroid
45+ uses : actions/upload-artifact@v2
46+ with :
47+ name : FoxMmm-fdroid-debug.apk
48+ path : app/build/outputs/apk/fdroid/debug/app-fdroid-debug.apk
You can’t perform that action at this time.
0 commit comments