diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 87669878..81eb0ac9 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -91,7 +91,11 @@ jobs: run: go install github.com/wailsapp/wails/v2/cmd/wails@latest - name: Generate wails bindings - run: wails generate module + run: | + # Apparently only wails build generates the embedded directory + mkdir -p frontend/build + touch frontend/build/.gitkeep + wails generate module - name: Install dependencies working-directory: frontend diff --git a/.goreleaser.yml b/.goreleaser.yml index 42f53bd8..79264b82 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -5,8 +5,11 @@ before: - go generate -x -tags tools ./... - go mod tidy - ./.github/convertWailsJsonPaths.sh + + # Apparently only wails build generates the embedded directory - mkdir -p frontend/build - touch frontend/build/.gitkeep + - wails generate module - pnpm -C frontend install - pnpm -C frontend build