diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a3bab93a..0a5ffb7a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/app/build.gradle b/app/build.gradle index dd0abe75..165a3afc 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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 } diff --git a/testRelease.jks b/testRelease.jks deleted file mode 100644 index 18b818e4..00000000 Binary files a/testRelease.jks and /dev/null differ