Skip to content

Commit 26cea05

Browse files
committed
fix: add missing signingConfigs
1 parent e9589a8 commit 26cea05

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ jobs:
7676
with:
7777
fetch-depth: 1
7878

79-
- name: Set up JDK 11
79+
- name: Set up JDK 17
8080
uses: actions/setup-java@v4
8181
with:
82-
java-version: '11'
82+
java-version: '17'
8383
distribution: 'temurin'
8484
cache: gradle
8585

app/build.gradle.kts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,23 @@ android {
3333
}
3434
}
3535

36+
signingConfigs {
37+
create("release") {
38+
storeFile = file("simplelogin.keystore")
39+
storePassword = System.getenv("KEYSTORE_PASSWORD")
40+
keyAlias = System.getenv("KEYSTORE_KEY_ALIAS")
41+
keyPassword = System.getenv("KEYSTORE_KEY_PASSWORD")
42+
}
43+
}
44+
3645
buildTypes {
3746
release {
3847
isMinifyEnabled = false
3948
proguardFiles(
4049
getDefaultProguardFile("proguard-android-optimize.txt"),
4150
"proguard-rules.pro"
4251
)
52+
signingConfig = signingConfigs.getByName("release")
4353
}
4454
}
4555

0 commit comments

Comments
 (0)