Skip to content

Commit bd3453a

Browse files
authored
Merge pull request #4 from soulteary/ci/fix-build
ci: fix build
2 parents 75ee226 + f57f99a commit bd3453a

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,18 @@ jobs:
2121
- name: Setup Go
2222
uses: actions/setup-go@v5
2323
with:
24-
go-version: '1.22'
24+
go-version: '1.24'
25+
26+
- name: Install dependencies (Ubuntu)
27+
if: runner.os == 'Linux'
28+
run: |
29+
sudo apt-get update
30+
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev build-essential pkg-config
31+
32+
- name: Install dependencies (macOS)
33+
if: runner.os == 'macOS'
34+
run: |
35+
brew install gtk+3 webkitgtk pkg-config
2536
2637
- name: Install Wails CLI
2738
run: go install github.com/wailsapp/wails/v2/cmd/wails@latest
@@ -45,3 +56,5 @@ jobs:
4556
name: CAN-Finder-${{ matrix.os }}
4657
path: |
4758
build/bin/
59+
build/*.app
60+
build/*.exe

0 commit comments

Comments
 (0)