skywind3000 / PyStand

:rocket: Python Standalone Deploy Environment !!
MIT License
641 stars 75 forks source link

refine CI workflow #42

Closed myd7349 closed 1 year ago

myd7349 commented 1 year ago

改进 CI 流程:

  1. 去除多余的 [skip ci] 检查(GitHub Actions 默认支持:Skipping workflow runs);

  2. 如果一个 PR 是 draft,不跑 CI;但转换为 Ready for review 的时候,跑 CI;

  3. 精简任务 matrix;

  4. 自动从 Tag 中获取版本号,不再需要 PYSTAND_VERSION

  5. 将 8 个版本打包到一个压缩包内,压缩包名称:PyStand-v{版本号}-exe.zip(见:https://github.com/skywind3000/PyStand/pull/41#issuecomment-1442433681 );

    效果预览:https://github.com/myd7349/PyStand/releases/tag/v0.0.24

  6. 如果没有打 Tag + push,不跑 release 任务;

skywind3000 commented 1 year ago

skywind3000 commented 1 year ago

https://github.com/skywind3000/PyStand/releases/tag/1.0.9

这个稳定一段时间,没问题我去提交个 windows defender 的误报去。

skywind3000 commented 1 year ago

https://github.com/skywind3000/PyStand/releases/tag/1.0.10

又提交了个新的,不行没法报误杀,因为我的 Windows Defender 只是在第一次下载运行时提醒应该扫描病毒,而没有具体报一个什么病毒,更没删除 exe,没病毒号无法提交误报。