Skip to content

Commit d8bda3d

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

File tree

3 files changed

+45
-0
lines changed

3 files changed

+45
-0
lines changed

.github/workflows/master-apk.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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

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)