disable static build
This commit is contained in:
parent
c89e63c39f
commit
75580d564d
@ -52,6 +52,6 @@ jobs:
|
|||||||
- name: Archive binary
|
- name: Archive binary
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: decl
|
name: jx
|
||||||
path: decl
|
path: jx
|
||||||
- run: echo "This job's status is ${{ job.status }}."
|
- run: echo "This job's status is ${{ job.status }}."
|
||||||
|
2
Makefile
2
Makefile
@ -1,5 +1,5 @@
|
|||||||
LDFLAGS?=--ldflags '-extldflags "-static"' --ldflags="-X 'main.commit=$(shell git rev-parse HEAD)' -X 'main.version=$(shell git describe --tags)' -X 'main.date=$(shell date '+%Y-%m-%d %T.%s%z')'"
|
LDFLAGS?=--ldflags '-extldflags "-static"' --ldflags="-X 'main.commit=$(shell git rev-parse HEAD)' -X 'main.version=$(shell git describe --tags)' -X 'main.date=$(shell date '+%Y-%m-%d %T.%s%z')'"
|
||||||
export CGO_ENABLED=0
|
export CGO_ENABLED=1
|
||||||
|
|
||||||
.PHONY=jx-cli
|
.PHONY=jx-cli
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user