From 50638ff54e438d1a375fcab10f1c03b55d2c7232 Mon Sep 17 00:00:00 2001 From: ardocrat Date: Fri, 13 Sep 2024 22:00:59 +0300 Subject: [PATCH] github: android keystore --- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f199f0b..7262a2e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,8 +23,8 @@ jobs: run: | chmod +x android/gradlew echo "${{ secrets.ANDROID_RELEASE_KEYSTORE }}" > release.keystore.asc - gpg -d --passphrase "${{ secrets.ANDROID_RELEASE_SECRET }}" --batch release.keystore.asc > android/keystore - echo -e "storePassword=${{ secrets.ANDROID_PASS }}\nkeyPassword=${{ secrets.ANDROID_PASS }}\nkeyAlias=grim\nstoreFile=../keystore" > android/keystore.properties + base64 -d release.keystore.asc > android/keystore + echo -e "storePassword=${{ secrets.ANDROID_RELEASE_SECRET }}\nkeyPassword=${{ secrets.ANDROID_RELEASE_SECRET }}\nkeyAlias=grim\nstoreFile=../keystore" > android/keystore.properties - name: Build lib 1/2 continue-on-error: true run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 55daabd..910a6c9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,8 +30,8 @@ jobs: run: | chmod +x android/gradlew echo "${{ secrets.ANDROID_RELEASE_KEYSTORE }}" > release.keystore.asc - gpg -d --passphrase "${{ secrets.ANDROID_RELEASE_SECRET }}" --batch release.keystore.asc > android/keystore - echo -e "storePassword=${{ secrets.ANDROID_PASS }}\nkeyPassword=${{ secrets.ANDROID_PASS }}\nkeyAlias=grim\nstoreFile=../keystore" > android/keystore.properties + base64 -d release.keystore.asc > android/keystore + echo -e "storePassword=${{ secrets.ANDROID_RELEASE_SECRET }}\nkeyPassword=${{ secrets.ANDROID_RELEASE_SECRET }}\nkeyAlias=grim\nstoreFile=../keystore" > android/keystore.properties - name: Build lib ARMv8 1/2 continue-on-error: true run: |