Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/release-cli-napi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ jobs:
shell: bash
run: |
target_dir="cli/npm/${{ matrix.target.suffix }}"
mkdir -p "$target_dir"
for lib in logger md-compiler config init-bundle; do
cp libraries/$lib/dist/*.node "$target_dir/"
done
Expand Down Expand Up @@ -146,6 +147,7 @@ jobs:
for artifact_dir in artifacts/cli-napi-*/; do
suffix=$(basename "$artifact_dir" | sed 's/cli-napi-//')
target_dir="cli/npm/${suffix}"
mkdir -p "$target_dir"
echo "Copying from ${artifact_dir} to ${target_dir}"
cp "${artifact_dir}"*.node "$target_dir/" || { echo "ERROR: no .node files found in ${artifact_dir}"; exit 1; }
done
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ jobs:
version: ${{ needs.check-version.outputs.version }}
secrets: inherit

# 5. 构建 GUI 并创建 GitHub Release
# 5. 构建 GUI 并创建 GitHub Release(等 CLI 主包发布完成后再构建)
release-gui:
needs: check-version
needs: [check-version, publish-cli]
if: needs.check-version.outputs.publish == 'true'
uses: ./.github/workflows/release-gui.yml
with:
Expand Down
Loading