diff options
author | Valery Piashchynski <[email protected]> | 2021-01-27 16:54:28 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-01-27 16:54:28 +0300 |
commit | 6e1abf0808ced4b4f7f3d5bab1e5d87c27a8e112 (patch) | |
tree | 31eb4fc2648376670dd3787f309ecb5177dcf184 | |
parent | a11baa9d9f2d51a1ca860daab44f05814636ec36 (diff) |
Update binary file compillation for the release
-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 |