File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 CGO_ENABLED : 1
1414
1515jobs :
16- build :
16+ release-build :
17+ name : Release Build
1718 strategy :
1819 fail-fast : false
1920 matrix :
@@ -49,14 +50,25 @@ jobs:
4950 with :
5051 bun-version : latest
5152
52- - name : Install dependencies
53+ - name : Install Linux dependencies
5354 if : matrix.os == 'ubuntu-latest'
5455 run : |
5556 sudo apt-get update
5657 sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev
58+
59+ - name : Install Wails CLI
60+ run : |
5761 go install github.com/wailsapp/wails/v3/cmd/wails3@latest
58- chmod +x $(go env GOPATH)/bin/wails3
59- sudo cp $(go env GOPATH)/bin/wails3 /usr/local/bin/wails
62+ if [ "${{ matrix.os }}" = "windows-latest" ]; then
63+ mv $(go env GOPATH)/bin/wails3.exe $(go env GOPATH)/bin/wails.exe
64+ echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
65+ elif [ "${{ matrix.os }}" = "macos-latest" ]; then
66+ mv $(go env GOPATH)/bin/wails3 $(go env GOPATH)/bin/wails
67+ echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
68+ else
69+ sudo cp $(go env GOPATH)/bin/wails3 /usr/local/bin/wails
70+ fi
71+ shell : bash
6072
6173 - name : Build Application
6274 run : |
You can’t perform that action at this time.
0 commit comments