File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ jobs:
106106 shell : bash
107107 run : |
108108 target_dir="cli/npm/${{ matrix.target.suffix }}"
109+ mkdir -p "$target_dir"
109110 for lib in logger md-compiler config init-bundle; do
110111 cp libraries/$lib/dist/*.node "$target_dir/"
111112 done
@@ -146,6 +147,7 @@ jobs:
146147 for artifact_dir in artifacts/cli-napi-*/; do
147148 suffix=$(basename "$artifact_dir" | sed 's/cli-napi-//')
148149 target_dir="cli/npm/${suffix}"
150+ mkdir -p "$target_dir"
149151 echo "Copying from ${artifact_dir} to ${target_dir}"
150152 cp "${artifact_dir}"*.node "$target_dir/" || { echo "ERROR: no .node files found in ${artifact_dir}"; exit 1; }
151153 done
Original file line number Diff line number Diff line change @@ -100,9 +100,9 @@ jobs:
100100 version : ${{ needs.check-version.outputs.version }}
101101 secrets : inherit
102102
103- # 5. 构建 GUI 并创建 GitHub Release
103+ # 5. 构建 GUI 并创建 GitHub Release(等 CLI 主包发布完成后再构建)
104104 release-gui :
105- needs : check-version
105+ needs : [ check-version, publish-cli]
106106 if : needs.check-version.outputs.publish == 'true'
107107 uses : ./.github/workflows/release-gui.yml
108108 with :
You can’t perform that action at this time.
0 commit comments