Skip to content

Commit 2594654

Browse files
author
fuyoo
committed
update build test-ci
1 parent 92aea42 commit 2594654

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/build-test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,11 @@ jobs:
4747
- name: install frontend dependencies
4848
run: pnpm install # change this to npm, pnpm or bun depending on which one you use.
4949

50-
- name: build frontend resource and tauri soruce
51-
run: pnpm tauri:build
50+
- name: build frontend resource
51+
run: pnpm build-only
5252

53+
- name: build tauri resource
54+
run: pnpm tauri:build
5355
# If tagName and releaseId are omitted tauri-action will only build the app and won't try to upload any assets.
5456
- uses: tauri-apps/tauri-action@v0
5557
env:

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"build": {
33
"beforeDevCommand": "pnpm dev",
4-
"beforeBuildCommand": "pnpm build",
4+
"beforeBuildCommand": "",
55
"frontendDist": "../dist",
66
"devUrl": "http://localhost:9000"
77
},

0 commit comments

Comments
 (0)