Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/desktop-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ jobs:
- name: Frontend deps
run: npm --prefix ui ci

# Build the UI explicitly here (into ui/dist) rather than via tauri.conf's
# beforeBuildCommand: tauri-action runs before-commands from a different cwd than a local
# `tauri build`, and no single relative --prefix works for both. So beforeBuildCommand is
# empty and the frontend is built here, cwd-unambiguously, from the repo root.
- name: Build UI
run: npm --prefix ui run build

- name: Build + attach installers
uses: tauri-apps/tauri-action@v0
env:
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"frontendDist": "../ui/dist",
"devUrl": "http://localhost:5173",
"beforeDevCommand": "npm --prefix ui run dev",
"beforeBuildCommand": "npm --prefix ui run build"
"beforeBuildCommand": ""
},
"app": {
"windows": [
Expand Down
Loading