mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-02-18 00:17:39 +01:00
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:
2
.github/workflows/deploy-demo-server.yml
vendored
2
.github/workflows/deploy-demo-server.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user