File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 cache : gradle
1818 - name : Grant execute permission for gradlew
1919 run : chmod +x gradlew
20- - name : Lint
21- run : ./gradlew --continue ktlintCheck
2220 - name : Build with Gradle
2321 run : ./gradlew build
2422 - name : Test
Original file line number Diff line number Diff line change 1+ name : Android CI
2+ on :
3+ push :
4+ tags :
5+ - ' v*'
6+ jobs :
7+ build :
8+ needs : [ unit_tests, android_tests ]
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout code
12+ uses : actions/checkout@v2
13+ - name : Generate Release APK
14+ run : ./gradlew assembleRelease
15+ - name : Sign APK
16+ uses : r0adkll/sign-android-release@v1
17+ id : sign_app
18+ with :
19+ releaseDirectory : app/build/outputs/apk/release
20+ signingKeyBase64 : ${{ secrets.SIGNING_KEY }}
21+ alias : ${{ secrets.ALIAS }}
22+ keyStorePassword : ${{ secrets.KEY_STORE_PASSWORD }}
23+ keyPassword : ${{ secrets.KEY_PASSWORD }}
24+ - uses : actions/upload-artifact@master
25+ with :
26+ name : release.apk
27+ path : ${{steps.sign_app.outputs.signedReleaseFile}}
28+ - uses : actions/upload-artifact@master
29+ with :
30+ name : mapping.txt
31+ path : app/build/outputs/mapping/release/mapping.txt
32+
33+
34+
35+
36+
37+
You can’t perform that action at this time.
0 commit comments