ci: generate bindings before frontend build

The frontend build requires Go bindings to be generated first.
Run `wails3 generate bindings` on the host before building frontend.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Lea Anthony 2026-01-28 09:07:15 +11:00
commit 7bbfc52ca7

View file

@ -155,7 +155,10 @@ jobs:
echo "" >> go.mod
echo "replace github.com/wailsapp/wails/v3 => ${{ github.workspace }}/v3" >> go.mod
# Build frontend
# Generate bindings (required for frontend build)
wails3 generate bindings
# Build frontend (so Docker doesn't need wails3 CLI)
cd frontend && npm install && npm run build && cd ..
- name: Build ${{ matrix.os }}/amd64