diff options
-rw-r--r-- | .github/workflows/release.yml | 3 |
1 files changed, 2 insertions, 1 deletions
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 |