File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,15 +31,15 @@ jobs:
3131 with :
3232 submodules : recursive
3333
34- - name : Setup Go
35- uses : actions /setup-go@v4
34+ - name : Setup Bun
35+ uses : oven-sh /setup-bun@v2
3636 with :
37- go -version : " 1.21 " # Updated to a more modern Go version
37+ bun -version : latest
3838
39- - name : Setup Node
40- uses : actions/setup-node@v3
39+ - name : Setup Go
40+ uses : actions/setup-go@v5
4141 with :
42- node -version : 18
42+ go -version : " 1.21 "
4343
4444 - name : Install Wails CLI
4545 run : go install github.com/wailsapp/wails/v2/cmd/wails@latest
@@ -54,16 +54,14 @@ jobs:
5454 shell : bash
5555 run : |
5656 cd apps/desktop
57- # Ensure dependencies are tidy
58- go mod tidy
59- # Run the build
57+ cd frontend && bun install && cd ..
58+
6059 wails build --platform ${{ matrix.build.platform }} -o ${{ matrix.build.name }}
6160
6261 - name : Upload Artifacts
6362 uses : actions/upload-artifact@v4
6463 with :
6564 name : Wails-Build-${{ strategy.job-index }}
66- # Explicitly pointing to the bin folder inside the nested path
6765 path : apps/desktop/build/bin/*
6866
6967 release :
You can’t perform that action at this time.
0 commit comments