Skip to content

Commit

Permalink
Signing with a new keystore using GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillt committed Dec 16, 2023
1 parent 0dce082 commit d207ebc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ jobs:
distribution: 'adopt'
cache: gradle

- name: Decrypt the keystore for signing
run: |
echo "${{ secrets.KEYSTORE_ENCRYPTED }}" > keystore.asc
gpg -d --passphrase "${{ secrets.KEYSTORE_PASSWORD }}" --batch keystore.asc > keystore.jks
- name: Build Release APK
run: ./gradlew assembleRelease

Expand Down
8 changes: 4 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ android {
}
signingConfigs {
testRelease {
storeFile project.rootProject.file('./testRelease.jks')
storePassword "arkmemo"
keyAlias "key0"
keyPassword "arkmemo"
storeFile project.rootProject.file('keystore.jks')
storePassword "sw0rdf1sh"
keyAlias "ark-builders-test"
keyPassword "rybamech"
v1SigningEnabled true
v2SigningEnabled true
}
Expand Down
Binary file removed testRelease.jks
Binary file not shown.

0 comments on commit d207ebc

Please sign in to comment.