Skip to content

Commit 2c10ec2

Browse files
committed
ci(publish): restructure Windows build artifact organization
1 parent 1f0ce04 commit 2c10ec2

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/publish.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,21 @@ jobs:
4343
run: |
4444
mkdir llbot-cli-win-x64
4545
cd llbot-cli-win-x64
46-
mkdir llbot
46+
mkdir -p bin/llbot
4747
cp ../dist/使用说明.txt ./
4848
cp ../dist/更新日志.txt ./
49-
cp -r ../dist/* ./llbot/
49+
cp -r ../dist/* .bin/llbot/
5050
wget https://github.com/linyuchen/PMHQ/releases/latest/download/pmhq-win-x64.zip
5151
unzip pmhq-win-x64.zip
52+
mkdir -p bin/pmhq
5253
rm pmhq-win-x64.zip
53-
mv pmhq-win-x64.exe llbot.exe
54-
wget https://github.com/LLOneBot/exe/releases/latest/download/node.exe -O llbot/node.exe
55-
wget https://github.com/LLOneBot/exe/releases/latest/download/ffmpeg.exe -O llbot/ffmpeg.exe
56-
wget https://github.com/LLOneBot/exe/releases/latest/download/ffprobe.exe -O llbot/ffprobe.exe
54+
mv pmhq-win-x64.exe bin/pmhq/pmhq.exe
55+
mv pmhq.dll bin/pmhq/
56+
wget https://github.com/LLOneBot/LLBot.CLI/releases/latest/download/llbot-win-x64.exe
57+
mv llbot-win-x64.exe llbot.exe
58+
wget https://github.com/LLOneBot/exe/releases/latest/download/node.exe -O bin/llbot/node.exe
59+
wget https://github.com/LLOneBot/exe/releases/latest/download/ffmpeg.exe -O bin/llbot/ffmpeg.exe
60+
wget https://github.com/LLOneBot/exe/releases/latest/download/ffprobe.exe -O bin/llbot/ffprobe.exe
5761
zip -r ../LLBot-CLI-win-x64.zip ./*
5862
5963
- name: Compress for Windows Desktop

0 commit comments

Comments
 (0)