From cae08ca7c8474ec9506f9b949ff174a28674084a Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 18 Apr 2026 17:16:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=E9=97=AE=E9=A2=98=EF=BC=8Cgo.mod=E5=9C=A8?= =?UTF-8?q?=E6=A0=B9=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-docker-artifact.yml | 5 ++--- .github/workflows/golangci-lint.yml | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-docker-artifact.yml b/.github/workflows/build-docker-artifact.yml index c45b642c0..37a9c540e 100644 --- a/.github/workflows/build-docker-artifact.yml +++ b/.github/workflows/build-docker-artifact.yml @@ -39,9 +39,8 @@ jobs: - name: Build binary run: | - cd server go mod tidy - CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags '-s -w' -o next-terminal ../main.go + CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags '-s -w' -o next-terminal . - name: Get version id: version @@ -55,7 +54,7 @@ jobs: - name: Create package run: | mkdir -p next-terminal - cp server/next-terminal next-terminal/ + cp next-terminal next-terminal/ cp config.yml.example next-terminal/config.yml cp LICENSE next-terminal/ tar zcvf next-terminal-${{ steps.version.outputs.VERSION }}-linux-amd64.tar.gz next-terminal/ diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 7b4a16f14..fbe92e4a9 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -22,4 +22,3 @@ jobs: with: version: latest args: --timeout=5m - working-directory: server