From 7fde3861832eead62a71fc33671dff8d179b48da Mon Sep 17 00:00:00 2001 From: Alex Hancock Date: Wed, 25 Mar 2026 13:22:38 -0400 Subject: [PATCH] fix: use correct relative path for native-binaries from ui/ directory The download-artifact action runs from the repo root and downloads to 'native-binaries', but the run steps execute from 'ui/' directory due to defaults.run.working-directory. From ui/, the correct path is '../native-binaries/' to access the repo root. Signed-off-by: Alex Hancock --- .github/workflows/publish-npm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index bdae5a3942..a5502127ba 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -72,11 +72,11 @@ jobs: - name: List downloaded artifacts (debug) run: | echo "Downloaded artifact structure:" - ls -R native-binaries/ + ls -R ../native-binaries/ - name: Copy binaries to package directories run: | - for platform_dir in native-binaries/goose-*; do + for platform_dir in ../native-binaries/goose-*; do platform=$(basename "$platform_dir" | sed 's/^goose-/goose-acp-server-/') pkg_dir="goose-acp-server/${platform}"