@@ -30,26 +30,77 @@ jobs:
3030
3131 - name : Compress dist
3232 run : |
33- mkdir llonebot-win-x64
33+
3434 sudo apt install zip -y
3535 cd ./dist/
36- mv 使用说明.txt ../llonebot-win-x64/
37- zip -r ../LLOneBot .zip ./*
36+
37+ zip -r ../LLBot .zip ./*
3838
39- - name : Compress for Windows
39+ - name : Compress for Windows Cli
4040 run : |
41- cd llonebot-win-x64
42- mv ../dist/更新日志.txt ./
43- mv ../dist ./llonebot
41+ mkdir llbot-cli-win-x64
42+ cd llbot-cli-win-x64
43+ cp ../dist/使用说明.txt ./
44+ cp ../dist/更新日志.txt ./
45+ cp ../dist ./llonebot
4446 wget https://github.com/linyuchen/PMHQ/releases/latest/download/pmhq-win-x64.zip
4547 unzip pmhq-win-x64.zip
4648 rm pmhq-win-x64.zip
47- mv pmhq-win-x64.exe llonebot .exe
49+ mv pmhq-win-x64.exe llbot .exe
4850 wget https://github.com/LLOneBot/exe/releases/latest/download/node.exe -O llonebot/node.exe
49- zip -r ../LLOneBot-win-x64.zip ./*
51+ # zip -r ../LLOneBot-win-x64.zip ./*
5052 wget https://github.com/LLOneBot/exe/releases/latest/download/ffmpeg.exe -O llonebot/ffmpeg.exe
5153 wget https://github.com/LLOneBot/exe/releases/latest/download/ffprobe.exe -O llonebot/ffprobe.exe
52- zip -r ../LLOneBot-win-x64-ffmpeg.zip ./*
54+ zip -r ../LLBot-cli-win-x64.zip ./*
55+
56+ - name : Compress for Windows Desktop
57+ run : |
58+ mkdir llbot-desktop-win-x64
59+ mkdir -p bin/llonebot
60+ cd llbot-desktop-win-x64
61+ cp ../dist/使用说明.txt ./
62+ cp ../dist/更新日志.txt ./
63+ cp ../dist ./bin/llonebot
64+ wget https://github.com/LLOneBot/Lucky-Lillia-Desktop/releases/latest/download/lucky-lillia-desktop-win-x64.zip
65+ unzip lucky-lillia-desktop-win-x64.zip
66+ rm lucky-lillia-desktop-win-x64.zip
67+ mv lucky-lillia-desktop.exe llbot.exe
68+ zip -r ../LLBot-Desktop-win-x64.zip ./*
69+
70+ - name : Compress for Linux CLI x64
71+ run : |
72+ mkdir llbot-cli-linux-x64
73+ cd llbot-cli-linux-x64
74+ cp ../dist/使用说明.txt ./
75+ cp ../dist/更新日志.txt ./
76+ cp ../dist ./llbot
77+ wget https://github.com/linyuchen/PMHQ/releases/latest/download/pmhq-linux-x64.zip
78+ unzip pmhq-linux-x64.zip
79+ rm pmhq-linux-x64.zip
80+ mv pmhq-linux-x64 llbot
81+ wget https://github.com/LLOneBot/exe/releases/latest/download/node-linux-x64 -O llbot/node
82+ cp ../script/start-linux.sh ./start.sh
83+ zip -r ../LLBot-CLI-linux-x64.zip ./*
84+
85+ - name : Compress for Linux CLI arm64
86+ run : |
87+ mkdir llbot-cli-linux-arm64
88+ cd llbot-cli-linux-arm64
89+ cp ../dist/使用说明.txt ./
90+ cp ../dist/更新日志.txt ./
91+ cp ../dist ./llbot
92+ wget https://github.com/linyuchen/PMHQ/releases/latest/download/pmhq-linux-arm64.zip
93+ unzip pmhq-linux-arm64.zip
94+ rm pmhq-linux-arm64.zip
95+ mv pmhq-linux-arm64 llbot
96+ wget https://github.com/LLOneBot/exe/releases/latest/download/node-linux-arm64 -O llbot/node
97+ cp ../script/start-linux.sh ./start.sh
98+ zip -r ../LLBot-CLI-linux-arm64.zip ./*
99+
100+ - name : Compress for Docker
101+ run : |
102+ wget https://raw.githubusercontent.com/linyuchen/PMHQ/refs/heads/main/docker/install-llob.sh -O LLBot-Docker.sh
103+
53104
54105 - name : Extract version from tag
55106 id : get-version
72123 - name : Release
73124 uses : ncipollo/release-action@v1
74125 with :
75- artifacts : ' LLOneBot .zip, LLOneBot- win-x64.zip, LLOneBot-win- x64-ffmpeg .zip'
126+ artifacts : ' LLBot .zip, LLBot-Desktop- win-x64.zip, LLBot-CLI-linux- x64.zip, LLBot-CLI-linux-arm64 .zip, LLBot-Docker.sh '
76127 draft : true
77128 token : ${{ secrets.RELEASE_TOKEN }}
78129 name : LLOneBot v${{ steps.get-version.outputs.VERSION }}
0 commit comments