enable cgo?

This commit is contained in:
kaedwen
2023-07-09 09:08:41 +02:00
parent 72be9703bb
commit 5edde4223b
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -68,6 +68,6 @@ jobs:
PKG_CONFIG_PATH: /usr/lib/${{ matrix.target.prefix }}/pkgconfig
- uses: actions/upload-artifact@v3
with:
name: binary
name: service-${{ matrix.target.os }}-${{ matrix.target.goarch }}
path: service
retention-days: 5
+2 -2
View File
@@ -1,6 +1,6 @@
build:
go build -mod=vendor -o service main.go
CGO_ENABLED=1 go build -mod=vendor -o service main.go
build-static:
go build -mod=vendor -tags=embed -o service main.go
CGO_ENABLED=1 go build -mod=vendor -tags=embed -o service main.go