mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 11:41:04 +00:00
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:
parent
20b54c78de
commit
39884cc6a1
2 changed files with 6 additions and 12 deletions
10
.github/workflows/release-sdk.yml
vendored
10
.github/workflows/release-sdk.yml
vendored
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue