Skip to content

Commit

Permalink
Merge pull request #7 from mahdikhashan/fix-ci-issue
Browse files Browse the repository at this point in the history
ci: debug keystore location
  • Loading branch information
mahdikhashan authored Dec 25, 2023
2 parents a5cc456 + 6eba6f6 commit 89e047d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,13 @@ jobs:
uses: timheuer/base64-to-file@v1.2
with:
fileName: 'android_keystore.jks'
fileDir: '/home/runner/work/<<project name>>/<<project name>>/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
Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 89e047d

Please sign in to comment.