Skip to content

Commit 393484a

Browse files
committed
fix next.js build step
1 parent 30c4307 commit 393484a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,9 @@ jobs:
8787
pnpm build:sidecar-winos
8888
fi
8989
90-
- name: Build Next.js
91-
run: pnpm run next build
90+
# Not needed since `pnpm tauri build` runs `pnpm next build` under the hood.
91+
# - name: Build Next.js
92+
# run: pnpm next build
9293

9394
- name: Set up Rust
9495
uses: actions-rs/toolchain@v1

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
"name": "example-tauri-v2-python-sidecar",
33
"version": "0.1.0",
44
"private": false,
5+
"packageManager": "[email protected]",
56
"scripts": {
67
"install-reqs": "pnpm install && pip3 install -r requirements.txt",
78
"dev": "next dev",
89
"build:sidecar-winos": "pyinstaller -c -F --clean --name main-x86_64-pc-windows-msvc --distpath src-tauri/bin/api src/backends/main.py",
910
"build:sidecar-macos": "pyinstaller -c -F --clean --name main-x86_64-apple-darwin --distpath src-tauri/bin/api src/backends/main.py",
1011
"build:sidecar-linux": "pyinstaller -c -F --clean --name main-x86_64-unknown-linux-gnu --distpath src-tauri/bin/api src/backends/main.py",
1112
"build:icons": "pnpm tauri icon public/app-icon.png",
12-
"build": "pnpm run build:sidecar-winos && next build",
13+
"build": "next build",
1314
"tauri": "tauri",
1415
"export": "next export",
1516
"start": "next start",

0 commit comments

Comments
 (0)