Skip to content

Commit 5c1aed5

Browse files
committed
yeet cgo
1 parent 5fd89fd commit 5c1aed5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/go.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ jobs:
2525
goos: ${{ matrix.goos }}
2626
goarch: ${{ matrix.goarch }}
2727
binary_name: "CFExporter"
28-
pre_command: "sed -i 's/${VERSION}/${{github.ref_name}}/g' main.go"
28+
pre_command: "export CGO_ENABLED=0 && sed -i 's/${VERSION}/${{github.ref_name}}/g' main.go"
2929
ldflags: "-extldflags=-static"

0 commit comments

Comments
 (0)