mirror of
https://github.com/hacdias/webdav.git
synced 2026-09-22 03:20:41 +08:00
chore: disable CGO (#184)
This commit is contained in:
@@ -17,3 +17,5 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version: "1.23.x"
|
go-version: "1.23.x"
|
||||||
- run: go build .
|
- run: go build .
|
||||||
|
env:
|
||||||
|
CGO_ENABLED: '0'
|
||||||
|
|||||||
@@ -8,6 +8,8 @@ before:
|
|||||||
builds:
|
builds:
|
||||||
- main: main.go
|
- main: main.go
|
||||||
binary: webdav
|
binary: webdav
|
||||||
|
env:
|
||||||
|
- CGO_ENABLED=0
|
||||||
flags:
|
flags:
|
||||||
- '-trimpath'
|
- '-trimpath'
|
||||||
ldflags:
|
ldflags:
|
||||||
|
|||||||
Reference in New Issue
Block a user