Skip to content

Commit 2c7cc43

Browse files
committed
build web assets in a separate step
1 parent 2c1de65 commit 2c7cc43

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/deploy-tauri.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ jobs:
205205
- name: init ios
206206
if: matrix.ios
207207
run: |
208-
pnpm tauri ios init
208+
pnpm tauri ios init --verbose
209209
210210
- name: download iOS platform
211211
if: matrix.ios
@@ -217,6 +217,11 @@ jobs:
217217
run: |
218218
git checkout -- ./src-tauri/gen/apple
219219
220+
- name: build web
221+
if: matrix.ios
222+
run: |
223+
pnpm build
224+
220225
- name: Tauri info
221226
run: |
222227
pnpm tauri info

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"frontendDist": "../dist",
88
"devUrl": "http://127.0.0.1:8888",
99
"beforeDevCommand": "pnpm dev",
10-
"beforeBuildCommand": "pnpm build"
10+
"beforeBuildCommand": "echo 'skipping web build' || pnpm build"
1111
},
1212
"app": {
1313
"windows": [

0 commit comments

Comments
 (0)