Skip to content

Commit a89bb09

Browse files
committed
Build static files?
1 parent df32427 commit a89bb09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/go.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ jobs:
2727
goos: ${{ matrix.goos }}
2828
goarch: ${{ matrix.goarch }}
2929
binary_name: "CFExporter"
30-
pre_command: "sed -i 's/${VERSION}/${{github.ref_name}}/g' main.go"
30+
pre_command: "sed -i 's/${VERSION}/${{github.ref_name}}/g' main.go"
31+
build_flags: "-extldflags=-static"

0 commit comments

Comments
 (0)