Skip to content

Commit 611b591

Browse files
committed
Update mobile build workflow
1 parent 2e50e86 commit 611b591

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/build-mobile.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@ jobs:
4141
4242
- name: Get Keystore
4343
run: |
44-
mkdir .keystore
45-
echo ${{ secrets.ANDROID_KEYSTORE }} | base64 --decode > .keystore/keystore.jks
46-
working-directory: mobile
44+
mkdir ~/.keystore
45+
echo ${{ secrets.ANDROID_KEYSTORE }} | base64 --decode > ~/.keystore/keystore.jks
4746
4847
- name: Setup Node.js
4948
uses: actions/setup-node@v4
@@ -79,6 +78,8 @@ jobs:
7978
working-directory: mobile
8079

8180
- name: Build Capacitor App
82-
run: npx cap build android --keystorepath ./.keystore/keystore.jks --keystorepass ${{ secrets.ANDROID_KEYSTORE_PASS }} --androidreleasetype APK
81+
run: |
82+
ls .keystore
83+
npx cap build android --keystorepath ~/.keystore/keystore.jks --keystorepass ${{ secrets.ANDROID_KEYSTORE_PASS }} --androidreleasetype APK
8384
working-directory: mobile
8485

0 commit comments

Comments
 (0)