Skip to content

Commit 123c11e

Browse files
committed
Update mobile build workflow
1 parent 2e50e86 commit 123c11e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/build-mobile.yml

Lines changed: 4 additions & 6 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
@@ -64,7 +63,7 @@ jobs:
6463

6564
- name: Install web dependencies
6665
run: npm install --workspace=web
67-
66+
6867
- name: Build Web App
6968
run: npm run web-build
7069

@@ -79,6 +78,5 @@ 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: npx cap build android --keystorepath ~/.keystore/keystore.jks --keystorepass ${{ secrets.ANDROID_KEYSTORE_PASS }} --androidreleasetype APK
8382
working-directory: mobile
84-

0 commit comments

Comments
 (0)