diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index aaba581..ecee977 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -27,4 +27,5 @@ jobs: goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} binary_name: "CFExporter" - pre_command: "sed -i 's/${VERSION}/${{github.ref_name}}/g' main.go" \ No newline at end of file + pre_command: "sed -i 's/${VERSION}/${{github.ref_name}}/g' main.go" + build_flags: "-extldflags=-static" \ No newline at end of file