Commit 32066fc
committed
fix: use macOS runner for release workflow to support CGO cross-compilation
Change release workflow to run on macos-latest instead of ubuntu-latest.
This fixes the CGO cross-compilation error when building darwin_amd64
targets, since Linux cannot cross-compile CGO to macOS (SQLite requires
CGO). macOS can cross-compile CGO to Linux/Windows, making it the better
choice for building all platforms.1 parent 693fb46 commit 32066fc
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
0 commit comments