Skip to content

Commit 39020e6

Browse files
committed
feat: create github release to create from master
1 parent e019490 commit 39020e6

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

.github/workflows/master-apk.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
16+
- name: Set up JDK 21
17+
uses: actions/setup-java@v3
18+
with:
19+
java-version: '21'
20+
distribution: 'jetbrains'
21+
22+
- name: Grant execute permission for gradlew
23+
run: chmod +x ./gradlew
24+
25+
- name: Build with Gradle
26+
run: ./gradlew assembleDebug
27+
28+
- uses: "marvinpinto/action-automatic-releases@latest"
29+
with:
30+
repo_token: "${{ github.token }}"
31+
automatic_release_tag: "latest-master"
32+
prerelease: true
33+
title: "Staging Build"
34+
files: app/build/outputs/apk/debug/*.apk

app/build.gradle.kts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff 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

4352
sqldelight {

keystores/debug.keystore

2.57 KB
Binary file not shown.

0 commit comments

Comments
 (0)