nezhahq-agent/.goreleaser.yml
UUBulb 62a5c7869d
ci: use matrix to reduce build time (#70)
* ci: use matrix to reduce build time

* chore: update gopsutil to v4.24.9
2024-10-01 14:25:02 +08:00

34 lines
552 B
YAML

version: 2
before:
hooks:
- go mod tidy -v
builds:
- id: universal
env:
- CGO_ENABLED=0
ldflags:
- -s -w -X main.version={{.Version}} -X main.arch={{.Arch}}
goos:
- linux
- windows
- freebsd
- darwin
goarch:
- arm
- arm64
- 386
- amd64
- mips
- mipsle
- s390x
- riscv64
gomips:
- softfloat
ignore:
- goos: windows
goarch: arm
main: ./cmd/agent
binary: nezha-agent
snapshot:
version_template: "nezha-agent"