Repository navigation
ci: 支持手动选择平台构建桌面测试包 - #10
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
现有桌面构建工作流只能供 PR 和发布流程调用,临时测试包缺少手动入口。
为现有
build-desktop.yml增加手动触发与平台选择,支持 Windows、Linux、macOS 和全部平台,手动运行默认仅构建 Windows;PR 与发布调用继续构建全部平台。沿用现有打包、分发验收和产物上传步骤,不增加专用工作流或分支 push 触发器。同步更新发布流程文档。合入默认分支后,可在 Actions 中选择目标分支生成测试包。本 PR 基于最新 main,仅包含工作流和文档改动,不包含联机功能。
验证:actionlint、四种平台选择及 workflow_call 默认矩阵检查、格式检查和 git diff --check 均通过。手动入口待合入后实跑验证。