Skip to content

Commit 384c699

Browse files
committed
ci: 尝试修复构建错误
1 parent 81c0511 commit 384c699

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.cnb.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ $:
1818
stages:
1919
- name: 更新日志
2020
image: cnbcool/changelog
21+
settings:
22+
day: 60
2123
exports:
2224
latestChangeLog: LATEST_CHANGE_LOG
2325
- name: 创建发布标签
@@ -39,10 +41,16 @@ $:
3941
- squirrel_file=$(basename "$squirrel_url")
4042
- curl -LO "$squirrel_url"
4143
- mv "$squirrel_file" Squirrel-latest.pkg
44+
# 下载 Fctix5-macOS installer 文件并设置输出变量
45+
- fctix5_macOS_url=$(curl -sL https://api.github.com/repos/fcitx-contrib/fcitx5-macos-installer/releases/latest | grep -Eo 'https://[^"]+Rime.zip' | head -1)
46+
- fctix5_macOS_file=$(basename "$fctix5_macOS_url")
47+
- curl -LO "$fctix5_macOS_url"
48+
- mv "$fctix5_macOS_url" Fcitx5-Rime.zip
4249
- name: release 上传附件
4350
image: cnbcool/attachments:latest
4451
settings:
4552
attachments:
4653
- oh-my-rime.zip
4754
- weasel-installer-latest.exe
4855
- Squirrel-latest.pkg
56+
- Fcitx5-Rime.zip

0 commit comments

Comments
 (0)