File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Android CI
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ build :
8+ name : Build debug apk
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v3.0.2
12+
13+ - name : set up JDK 11
14+ uses : actions/setup-java@v3.3.0
15+ with :
16+ java-version : ' 11'
17+ distribution : ' adopt'
18+ cache : gradle
19+
20+ - name : Grant execute permission for gradlew
21+ run : chmod +x gradlew
22+
23+ - name : Build debug apk
24+ uses : eskatos/gradle-command-action@v2.1.5
25+ with :
26+ arguments : assembleDebug
27+ distributions-cache-enabled : true
28+ dependencies-cache-enabled : true
29+ configuration-cache-enabled : true
30+
31+ - name : Upload debug apk
32+ uses : actions/upload-artifact@v3
33+ with :
34+ name : debug
35+ path : app/build/outputs/apk/debug
You can’t perform that action at this time.
0 commit comments