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 : Android CI
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+
7+ jobs :
8+ build :
9+
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v4
14+ - name : set up JDK
15+ uses : actions/setup-java@v4
16+ with :
17+ java-version : ' 17'
18+ distribution : ' temurin'
19+ cache : gradle
20+
21+ - name : Grant execute permission for gradlew
22+ run : chmod +x gradlew
23+
24+ - name : Build Debug
25+ run : ./gradlew assembleUniversalDebug
26+
27+ - name : Build Release
28+ run : ./gradlew assembleUniversalRelease
29+
30+ - name : Upload a Build Artifact
31+ uses : actions/upload-artifact@v4
32+ with :
33+ name : rvxp-ci-debug-apk
34+ path : app/build/outputs/apk/universal/debug
35+
36+ - name : Upload a Build Artifact
37+ uses : actions/upload-artifact@v4
38+ with :
39+ name : rvxp-ci-release-apk
40+ path : app/build/outputs/apk/universal/release
You can’t perform that action at this time.
0 commit comments