Skip to content

Commit

Permalink
Build static files?
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaz492 committed Jun 3, 2022
1 parent df32427 commit a89bb09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
pre_command: "sed -i 's/${VERSION}/${{github.ref_name}}/g' main.go"
build_flags: "-extldflags=-static"

0 comments on commit a89bb09

Please sign in to comment.