Conversation
新增 GitHub Actions 工作流,每周日自动从 Mojang 官方版本清单拉取最新 Minecraft 版本,更新版本列表文件,并在有新版本时自动创建 PR。
commit cccdf05 Author: Zkitefly <zkitefly@foxmail.com> Date: Fri Oct 2 14:12:32 2026 +0800 ci: 更新版本更新工作流以支持更新Chunkbase游戏版本 新增GitHub Actions工作流和脚本,用于自动从Chunkbase获取最新的Java版游戏版本并更新到资源文件中,同时调整原有工作流的名称以更准确反映其更新Minecraft版本的功能。 commit 9867b38 Author: Zkitefly <zkitefly@foxmail.com> Date: Fri Oct 2 13:53:10 2026 +0800 update commit 86443ff Author: Zkitefly <zkitefly@foxmail.com> Date: Fri Oct 2 13:33:13 2026 +0800 feat(chunkbase): 将游戏版本列表改为外部配置文件加载 将原本硬编码在 ChunkBaseApp 中的游戏版本数组迁移到外部 JSON 配置文件中,通过代码加载配置,提升可维护性,方便后续更新版本列表无需修改代码。
fishdry1000
reviewed
Oct 2, 2026
Co-authored-by: 鱼前三百 <169084442+fishdry1000@users.noreply.github.com>
This branch has not been deployed
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.
新增 GitHub Actions 工作流,每天(北京时间零点)自动从 Mojang 官方版本清单拉取最新 Minecraft 版本,更新版本列表文件,并在有新版本时自动创建 PR。
新增 Chunkbase 更新,从各自的页面用正则表达式匹配版本并更新。
工作流规则:
本地测试命令:
效果预览:
zkitefly#24
第一次:https://github.com/zkitefly/HMCL/actions/runs/36994685596/job/110798588332
第二次(未新建新 PR):https://github.com/zkitefly/HMCL/actions/runs/36994985276
第三次(在原有 pr 上提交内容):zkitefly@5d40d7e