1 Commits
v2.1 ... v2.2

Author SHA1 Message Date
19f80c7262 mod(workflow): add CGO_ENABLED=0 and GOOS=linux when building release
All checks were successful
Go Project Action / Spell-check and test go project (push) Successful in 2m10s
Release Go Application / Release go project (release) Successful in 37s
2024-11-01 15:09:16 +01:00

View File

@@ -21,7 +21,7 @@ jobs:
- name: Install dependencies
run: go get .
- name: Build
run: go build -ldflags "-s -w" -o ./bin/serve main.go
run: CGO_ENABLED=0 GOOS=linux go build -ldflags "-s -w" -o ./bin/serve main.go
- name: Release build artifacts
uses: akkuman/gitea-release-action@v1.3.2
with: