From 5d5e0941374660a3a0eb5b23313138ab0a958fb5 Mon Sep 17 00:00:00 2001 From: Kirill Taran Date: Sat, 16 Dec 2023 09:37:13 +0300 Subject: [PATCH] Signing with a new keystore using GitHub Actions, bump JDK version --- .github/workflows/build.yml | 14 +++++++++++--- app/build.gradle | 8 ++++---- testRelease.jks | Bin 2549 -> 0 bytes 3 files changed, 15 insertions(+), 7 deletions(-) delete mode 100644 testRelease.jks diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7be335ec..c8ee2192 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,9 +7,9 @@ jobs: runs-on: ubuntu-latest environment: Development env: - ACRA_LOGIN: ${{ secrets.ACRARIUM_BASIC_AUTH_LOGIN }} - ACRA_PASS: ${{ secrets.ACRARIUM_BASIC_AUTH_PASSWORD }} - ACRA_URI: ${{ secrets.ACRARIUM_URI }} + ACRA_LOGIN: ${{ secrets.ACRARIUM_BASIC_AUTH_LOGIN }} + ACRA_PASS: ${{ secrets.ACRARIUM_BASIC_AUTH_PASSWORD }} + ACRA_URI: ${{ secrets.ACRARIUM_URI }} steps: - uses: actions/checkout@v3 @@ -20,6 +20,14 @@ jobs: distribution: 'adopt' cache: gradle + - name: Validate Gradle wrapper + uses: gradle/wrapper-validation-action@v1.0.5 + + - 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 5edaf44d..d8165cde 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -28,10 +28,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 18b818e4db96748a098a8b43ec111430df383bff..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2549 zcma)+cQhM}8peer#2!(rcI}l|MOCN@T2)1@)~Holdy5^aR&A{rsa2ykwfTtgT_Xre zVw6^qwpLX`71urYp6@&NuY3P^&vV}A_rA}c4-5_2rv}i#(2!~{L^|Fep27s61z^#T z0w5al>cY-~p+WzRKo^=JS>7hO)bGn4G@Acg6aO9NDTo|!T7-thj;^k3k?t;4P+(p zT)Jm=m$VK z6i68T&4fY?Su>0<_;aGxEm&qHlS_;PK$C6^IaHyVp-;~JrdtCG^_== z_JatjR?o$%IL+Hui<*YdUw0+z@3-UtO^!&Yop)+|#T` zzZ+TOsuf>9h%&fLKl^4e)Esj_aPx?;OxqX;mLDmzK%XWO*{DG;OMJ*#$P^_3?HSKJZ=7AeCS>Zu+kki z71UJo8Na7n7S@(KwBD9co}pw0*w17tQQD+`;jd{KyN0~RA;uvPnNw|U#(X(Q8Aw5R z6Czk&OZAc#e*FSgd?$KJ-!ebRi3|i64hr*-GAeZ3f;4Yp&QfnV-w`P!&&>y;UXSjGW zn-{}4LcP{&!-+h0Dq({?dlDX9F%jEeHVP=bF*A}ccuFbrG%Kf8fj@ICOqaXjmH?%h z7&A`*{6zC@F*B+xSSBv>jzo7OYe`yEwMc4v;N&A(QKOc^vN)F^|5J{d8*+?2yG>g6 zZz#M>L&gbN!%aM-1h0`;{EPeZaqSg~+4;yp4$_$pm&X>OC4r2ze3OXsL@Re61OfN@ z-MSyx4DD>ve6|qOJBe)OIb|D&ymbv@xM8Lg{i%1+r;@f;_p~hhXV3n)#iOztP#Lf5 zDzSAhOV%pX+GPD?Efn2mdleeA%Ipd_uS}49rVwQ~=;vARdT%idJOJ+-Ve!&kR52IC zJn^;eFWBfI+#%;IVk3AuT>G+k+r-X$xJu@0D2NJVfCWqfyO@wiw*QY zF3V5$4r{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