mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
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:
parent
39e5d47477
commit
7bbfc52ca7
1 changed files with 4 additions and 1 deletions
5
.github/workflows/build-cross-image.yml
vendored
5
.github/workflows/build-cross-image.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue