mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-04-28 03:20:11 +00: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:
parent
d389345153
commit
4e064aa0cc
7 changed files with 100 additions and 3 deletions
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue