Commit facf609
committed
ci(release): 关 Defender 实时扫描 + 打包后冒烟验 PKG
v0.2/v0.3/v0.3.1 发版 exe(raw artifact 同样)报
"Could not load PyInstaller's embedded PKG archive",但本地同 spec 打包能跑。
排除 UPX/7z 后,高度怀疑 CI windows-latest 的 Defender 实时扫描在 PyInstaller
写入 exe 时改动 PKG archive。
- Build 前禁用 Defender 实时扫描 + 工作区加排除路径
- Build 后立即 offscreen 跑 exe 冒烟,grep "Could not load PyInstaller"
→ CI 当场验证 PKG 能加载,产出损坏的 exe 不再发版1 parent bf5ea27 commit facf609
1 file changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
28 | 36 | | |
29 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
30 | 51 | | |
31 | 52 | | |
32 | 53 | | |
| |||
0 commit comments