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