|
69 | 69 | name: LLOneBot-win-x64-ffmpeg |
70 | 70 | path: LLOneBot-win-x64-ffmpeg.zip |
71 | 71 | retention-days: 30 |
| 72 | + |
| 73 | + - name: Compress for mac-x64 |
| 74 | + run: | |
| 75 | + mkdir llonebot-mac-x64 |
| 76 | + mkdir llonebot-mac-x64/llonebot |
| 77 | + mkdir llonebot-mac-x64/ |
| 78 | + cp -r ./dist/* llonebot-mac-x64/llonebot/ |
| 79 | + wget https://github.com/LLOneBot/exe/releases/latest/download/node-darwin-x64 -O llonebot-mac-x64/llonebot/node |
| 80 | + wget https://github.com/linyuchen/PMHQ/releases/latest/download/pmhq-mac-x64.zip |
| 81 | + unzip pmhq-win-x64.zip |
| 82 | + rm pmhq-mac-x64.zip |
| 83 | + mv pmhq llonebot-mac-x64/ |
| 84 | + wget https://raw.githubusercontent.com/LLOneBot/LLOneBot/refs/heads/main/script/start-mac.sh -O llonebot-mac-x64/start.sh |
| 85 | + zip -r LLOneBot-mac-x64.zip ./llonebot-mac-x64/* |
| 86 | +
|
| 87 | + - name: Upload LLOneBot-mac-x64.zip |
| 88 | + uses: actions/upload-artifact@v4 |
| 89 | + with: |
| 90 | + name: LLOneBot-mac-x64 |
| 91 | + path: LLOneBot-mac-x64.zip |
| 92 | + retention-days: 30 |
| 93 | + |
| 94 | + - name: Compress for mac-arm64 |
| 95 | + run: | |
| 96 | + mkdir llonebot-mac-arm64 |
| 97 | + mkdir llonebot-mac-arm64/llonebot |
| 98 | + mkdir llonebot-mac-arm64/ |
| 99 | + cp -r ./dist/* llonebot-mac-arm64/llonebot/ |
| 100 | + wget https://github.com/LLOneBot/exe/releases/latest/download/node-darwin-arm64 -O llonebot-mac-arm64/llonebot/node |
| 101 | + wget https://github.com/linyuchen/PMHQ/releases/latest/download/pmhq-mac-arm64.zip |
| 102 | + unzip pmhq-win-arm64.zip |
| 103 | + rm pmhq-mac-arm64.zip |
| 104 | + mv pmhq llonebot-mac-arm64/ |
| 105 | + wget https://raw.githubusercontent.com/LLOneBot/LLOneBot/refs/heads/main/script/start-mac.sh -O llonebot-mac-arm64/start.sh |
| 106 | + zip -r LLOneBot-mac-arm64.zip ./llonebot-mac-arm64/* |
| 107 | +
|
| 108 | + - name: Upload LLOneBot-mac-arm64.zip |
| 109 | + uses: actions/upload-artifact@v4 |
| 110 | + with: |
| 111 | + name: LLOneBot-mac-arm64 |
| 112 | + path: LLOneBot-mac-arm64.zip |
| 113 | + retention-days: 30 |
0 commit comments