Skip to content

Commit bf5ea27

Browse files
committed
ci(release): AFA 下载改 latest + LICENSE + 上传 raw artifact 诊断 PKG 损坏
Download AFA:用 GitHub API 查最新 tag(不再写死 v1.5.1)+ 下 LICENSE 到 afa/ 目录(满足 GPL 分发要求)。tag 提取用 sed(不依赖 grep -P/locale)。 加 win-x64-raw artifact(未压缩 dist/aao.app 整目录):v0.2/v0.3 发版 zip 解压后 aao.app.exe 报 "Could not load PyInstaller's embedded PKG archive", 但本地打包同 spec 能跑。raw artifact 用于对比定位—— raw 能跑=7z 压缩/解压损坏,raw 不能跑=CI exe 出厂就坏(疑 admin 打包)。
1 parent 5b0ea8d commit bf5ea27

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ jobs:
6363
with:
6464
name: win-x64
6565
path: dist/*.zip
66+
- name: Upload raw dist (诊断 PKG 损坏用)
67+
uses: actions/upload-artifact@v7
68+
with:
69+
name: win-x64-raw
70+
path: dist/aao.app
6671

6772
git_cliff:
6873
name: Generate release notes

0 commit comments

Comments
 (0)