Skip to content

refine CI workflow #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 24, 2023
Merged

Conversation

myd7349
Copy link
Contributor

@myd7349 myd7349 commented Feb 24, 2023

改进 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(见:fix wrong indent #41 (comment) );

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

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

@myd7349 myd7349 marked this pull request as ready for review February 24, 2023 13:29
@skywind3000 skywind3000 merged commit 4a66007 into skywind3000:master Feb 24, 2023
@skywind3000
Copy link
Owner

@skywind3000
Copy link
Owner

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

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

@skywind3000
Copy link
Owner

skywind3000 commented Feb 24, 2023

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

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

@myd7349 myd7349 deleted the refine-ci-workflow branch February 25, 2023 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants