ci: 发布时自动上传到 Modrinth

release.yml 在 GitHub Release 之后用 Kir-Antipov/mc-publish@v3.3 上传 jar 到 Modrinth,project 用 slug better-place-command;发布配置读仓库根 modrinth.json(project_id/loaders/game_versions/version_type)。含 test 的 tag 会跳过 Modrinth 发布。

新增 modrinth.json 作为发布元数据单一真源。
This commit is contained in:
AxTps committed 2026-10-03 17:22:40 +08:00
1 parent 5f1374bcc6
commit 623a43b26d
2 files changed
+36 -2

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
{
"project_id": "better-place-command",
"version_type": "release",
"loaders": [
"fabric"
],
"game_versions": [
"26.1.2"
]
}