From eb8325e9b4933d3085a14c292244067f33e3e672 Mon Sep 17 00:00:00 2001 From: Chris Tate Date: Fri, 23 Jan 2026 13:15:51 -0600 Subject: [PATCH] fix: download artifacts to temp directory to avoid naming conflict (#221) The download-artifact action creates directories named after each artifact. When downloading to bin/, this caused conflicts because the artifact directory names matched the binary names (e.g., bin/agent-browser-darwin-arm64/agent-browser-darwin-arm64). Fix by downloading to artifacts/ first, then using find to move the binaries to bin/. --- .github/workflows/release.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bd73f82..ca22d57 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -193,14 +193,13 @@ jobs: - name: Download all artifacts uses: actions/download-artifact@v4 with: - path: bin/ + path: artifacts/ - name: Move binaries to bin directory run: | - for dir in bin/*/; do - mv "$dir"* bin/ - rmdir "$dir" - done + mkdir -p bin + find artifacts -type f -name 'agent-browser-*' -exec mv {} bin/ \; + rm -rf artifacts chmod +x bin/agent-browser-* 2>/dev/null || true ls -la bin/