From 75580d564d4d390b67e1c1e3147971da31003d62 Mon Sep 17 00:00:00 2001 From: Matthew Rich Date: Sat, 25 May 2024 17:56:20 -0700 Subject: [PATCH] disable static build --- .gitea/workflows/test.yaml | 4 ++-- Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 27dfe93..9361f0d 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -52,6 +52,6 @@ jobs: - name: Archive binary uses: actions/upload-artifact@v3 with: - name: decl - path: decl + name: jx + path: jx - run: echo "This job's status is ${{ job.status }}." diff --git a/Makefile b/Makefile index 453b1e7..f2f81e9 100644 --- a/Makefile +++ b/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')'" -export CGO_ENABLED=0 +export CGO_ENABLED=1 .PHONY=jx-cli