Skip to content

Commit

Permalink
Merge pull request #292 from sipcapture/adubovikov-patch-1
Browse files Browse the repository at this point in the history
Update release.yml
  • Loading branch information
adubovikov authored Jun 28, 2024
2 parents 97dd379 + 572049d commit 34f77fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
run: git clone https://luajit.org/git/luajit-2.0.git && cd luajit-2.0 && git checkout v2.1 && make CCOPT="-static -fPIC" BUILDMODE="static" && sudo make install

- name: Build
#run: go build -ldflags "-s -w" -o heplify *.go
run: CGO_ENABLED=1 GOOS=linux CGO_LDFLAGS="-lm -ldl" go build -a -ldflags '-extldflags "-static"' -tags netgo -installsuffix netgo -o heplify *.go
run: go build -ldflags "-s -w" -o heplify *.go
#run: CGO_ENABLED=1 GOOS=linux CGO_LDFLAGS="-lm -ldl" go build -a -ldflags '-extldflags "-static"' -tags netgo -installsuffix netgo -o heplify *.go

- name: Upload
uses: skx/github-action-publish-binaries@master
Expand Down

0 comments on commit 34f77fc

Please sign in to comment.