File tree Expand file tree Collapse file tree 3 files changed +45
-0
lines changed
Expand file tree Collapse file tree 3 files changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Create APK from Master
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ permissions :
12+ contents : write
13+
14+ steps :
15+ - name : Checkout
16+ uses : actions/checkout@v4
17+
18+ - name : Set up JDK 21
19+ uses : actions/setup-java@v4
20+ with :
21+ java-version : ' 21'
22+ distribution : ' jetbrains'
23+
24+ - name : Grant execute permission for gradlew
25+ run : chmod +x ./gradlew
26+
27+ - name : Build with Gradle
28+ run : ./gradlew assembleDebug
29+
30+ - uses : " marvinpinto/action-automatic-releases@latest"
31+ with :
32+ repo_token : " ${{ github.token }}"
33+ automatic_release_tag : " latest-master"
34+ prerelease : true
35+ title : " Staging Build"
36+ files : app/build/outputs/apk/debug/*.apk
Original file line number Diff line number Diff line change @@ -38,6 +38,15 @@ android {
3838 buildFeatures {
3939 compose = true
4040 }
41+
42+ signingConfigs {
43+ getByName(" debug" ) {
44+ storeFile = file(" ../keystores/debug.keystore" )
45+ storePassword = " android"
46+ keyAlias = " androiddebugkey"
47+ keyPassword = " android"
48+ }
49+ }
4150}
4251
4352sqldelight {
You can’t perform that action at this time.
0 commit comments