From c5c1583bcfc66cf6876cc04d0dc57941d86c509a Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Wed, 27 Jan 2021 16:59:15 +0300 Subject: Update compillation routine --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a50d16c4..e43514bd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,8 +58,10 @@ 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: | - cd cmd && go build -trimpath -ldflags "$LDFLAGS" -o "./${{ steps.values.outputs.binary-name }}" main.go + cd cmd + go build -trimpath -ldflags "$LDFLAGS" -o "./${{ steps.values.outputs.binary-name }}" main.go mv "${{ steps.values.outputs.binary-name }}" ../ + cd .. stat "./${{ steps.values.outputs.binary-name }}" - name: Generate distributive directory name -- cgit v1.2.3