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 +51
-0
lines changed
Expand file tree Collapse file tree 1 file changed +51
-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 app:assembleDefaultDebug
35+
36+ - name : Build apk fdroid-debug
37+ run : ./gradlew app:assembleFdroidDebug
38+
39+ # Upload Artifact Build
40+ # Noted For Output [module-name]/build/outputs/apk
41+ - name : Upload apk debug
42+ uses : actions/upload-artifact@v3
43+ with :
44+ name : FoxMmm-debug
45+ path : app/build/outputs/apk/default/debug/app-default-debug.apk
46+
47+ - name : Upload apk fdroid-debug
48+ uses : actions/upload-artifact@v3
49+ with :
50+ name : FoxMmm-fdroid-debug
51+ path : app/build/outputs/apk/fdroid/debug/app-fdroid-debug.apk
You can’t perform that action at this time.
0 commit comments