From 293617a28e15c92bd6c22a03b345ad3becd0eeef Mon Sep 17 00:00:00 2001 From: Russel Van Tuyl Date: Sun, 5 Nov 2023 05:57:18 -0500 Subject: [PATCH] Troubleshooting release action --- .github/workflows/release.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1a3f13dd..4d15cd1b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,8 +46,10 @@ jobs: id: build_agents working-directory: /home/runner/work/merlin-agent run: | - pwd - make distro + VERSION=$(cat ./core/core.go |grep "var Version ="|cut -d"\"" -f2) + BUILD=$(git rev-parse HEAD) + make all + mv ./bin/$VERSION/$BUILD/merlinAgent-* . - name: Build Merlin Agent DLL id: build_agent_dll @@ -60,7 +62,7 @@ jobs: run: | mkdir -p data/bin cp /home/runner/work/merlin-agent/merlinAgent-* ./data/bin - cp /home/runner/work/merlin-agent-dll/merlinAgent.dll ./data/bin + cp /home/runner/work/merlin-agent-dll/merlin.dll ./data/bin - name: Build Merlin CLI id: build_cli