Skip to content

Commit 0ee467e

Browse files
committed
修复打包文件命令
1 parent bc1e7a5 commit 0ee467e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
bin_arrays=($(ls jim-docs-*))
8686
for ((i=0; i<${#bin_arrays[@]}; i++)); do
8787
zip_name=$(echo ${bin_arrays[$i]}|awk -F '-' '{print $3"-"$4}'|awk -F'.' '{print $1}')
88-
zip -r ${zip_name}-${{ github.event.inputs.version}}.zip ./*
88+
zip -r ${zip_name}-${{ github.event.inputs.version}}.zip ./${bin_arrays[$i]} ./*.json ./*.yaml
8989
done
9090
echo "status=success" >> $GITHUB_OUTPUT
9191

0 commit comments

Comments
 (0)