From 6e1abf0808ced4b4f7f3d5bab1e5d87c27a8e112 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Wed, 27 Jan 2021 16:54:28 +0300 Subject: Update binary file compillation for the release --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f20893d3..a50d16c4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,7 +58,8 @@ jobs: -X github.com/spiral/roadrunner/v2/cmd/cli.Version=${{ steps.values.outputs.version }} -X github.com/spiral/roadrunner/v2/cmd/cli.BuildTime=${{ steps.values.outputs.timestamp }} run: | - go build -trimpath -ldflags "$LDFLAGS" -o "./${{ steps.values.outputs.binary-name }}" ./cmd/main.go + cd cmd && go build -trimpath -ldflags "$LDFLAGS" -o "./${{ steps.values.outputs.binary-name }}" main.go + mv "${{ steps.values.outputs.binary-name }}" ../ stat "./${{ steps.values.outputs.binary-name }}" - name: Generate distributive directory name -- cgit v1.2.3