fix: build entire cmd/pulse package, not just main.go

The static binary build was only compiling main.go, missing bootstrap.go
and config.go which define osExit, bootstrapTokenCmd, and configCmd.
This commit is contained in:
rcourtman
2026-01-13 09:06:21 +00:00
parent d389345153
commit 4e064aa0cc
7 changed files with 100 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ jobs:
cp -r frontend-modern/dist internal/api/frontend-modern/
- name: Build static binary
run: CGO_ENABLED=0 go build -ldflags="-s -w" -o pulse cmd/pulse/main.go
run: CGO_ENABLED=0 go build -ldflags="-s -w" -o pulse ./cmd/pulse/
- name: Tailscale
uses: tailscale/github-action@v2