ci(sdk-release): fix CLI package path handling

- Remove dist/ directory requirement from workflow (CLI files are in package root)
- Update bundle-cli-from-npm.js to use package root directly instead of package/dist

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
mingholy.lmh 2026-02-05 22:06:08 +08:00
parent 20b54c78de
commit 39884cc6a1
2 changed files with 6 additions and 12 deletions

View file

@ -188,15 +188,9 @@ jobs:
cd "${CLI_TMP_DIR}"
tar -xzf qwen-code-qwen-code-*.tgz
# Verify dist exists
if [[ ! -d "${CLI_TMP_DIR}/package/dist" ]]; then
echo "::error::CLI package does not contain dist/ directory"
exit 1
fi
echo "CLI package extracted to: ${CLI_TMP_DIR}/package"
echo "CLI dist contents:"
ls -la "${CLI_TMP_DIR}/package/dist/"
echo "CLI package contents:"
ls -la "${CLI_TMP_DIR}/package/"
- name: 'Build CLI from source'
id: 'cli_build'