fix: Use debug key for test builds

This commit is contained in:
Myzel394 2024-05-15 20:43:21 +02:00
parent 98965ec7b0
commit 5730fe5f38
No known key found for this signature in database
GPG Key ID: DEC4AAB876F73185
2 changed files with 9 additions and 0 deletions

View File

@ -18,6 +18,14 @@ jobs:
java-version: 21
cache: "gradle"
- name: Write debug key
shell: bash
run: |
echo "storeFile=~/.android/debug.keystore" > key.properties
echo "storePassword=android" >> key.properties
echo "keyPassword=android" >> key.properties
echo "keyAlias=androiddebugkey" >> key.properties
- name: Run tests
run: ./gradlew test

View File

@ -91,6 +91,7 @@ android {
}
create("benchmark") {
initWith(getByName("debug"))
signingConfig = signingConfigs.getByName("debug")
isDebuggable = false
isMinifyEnabled = true
isShrinkResources = true