From 6eba6f6154362571d70bc52713e226ac851dc8d0 Mon Sep 17 00:00:00 2001 From: Mahdi Khashan <58775404+mahdikhashan@users.noreply.github.com> Date: Mon, 25 Dec 2023 16:54:25 +0100 Subject: [PATCH] ci: debug keystore location --- .github/workflows/build.yml | 6 +++++- app/build.gradle | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c059e52..6cb91e7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,9 +29,13 @@ jobs: uses: timheuer/base64-to-file@v1.2 with: fileName: 'android_keystore.jks' - fileDir: '/home/runner/work/<>/<>/app/keystore/' + fileDir: 'app/keystore/' # Updated relative path encodedString: ${{ secrets.KEYSTORE }} + # Debug helper step + - name: Debug Keystore Placement + run: ls -R app/keystore/ + # Build and sign APK ("-x test" argument is used to skip tests) - name: Build APK run: ./gradlew :app:assembleRelease -x test diff --git a/app/build.gradle b/app/build.gradle index ea77378..0f2185b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -20,7 +20,7 @@ android { signingConfigs { release { - storeFile = file("keystore/android_keystore.jks") + storeFile file("app/keystore/android_keystore.jks") storePassword System.getenv("SIGNING_STORE_PASSWORD") keyAlias System.getenv("SIGNING_KEY_ALIAS") keyPassword System.getenv("SIGNING_KEY_PASSWORD")