测试modrinth发布脚本

This commit is contained in:
zhangyuheng 2024-09-11 11:17:23 +08:00
parent f9a5535c3f
commit a12775e0ff
2 changed files with 4 additions and 5 deletions

View File

@ -39,16 +39,15 @@ jobs:
uses: dsx137/modrinth-release-action@main
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
VERSION: ${{ steps.build.outputs.TAG }}
with:
name: ${{ env.VERSION }}
name: ${{ env.AUTOMATIC_RELEASES_TAG }}
project_id: vVZc7jAV
loaders: Bukkit,Folia,Paper,Purpur,Spigot
game_versions: 1.20.1:1.20.6,1.21,1.21.1
version_number: ${{ env.VERSION }}
version_number: ${{ env.AUTOMATIC_RELEASES_TAG }}
files: |
staging/*.jar
changelog: "See https://github.com/ColdeZhang/Dominion/releases/tag/${{ env.VERSION }}"
changelog: "See https://github.com/ColdeZhang/Dominion/releases/tag/${{ env.AUTOMATIC_RELEASES_TAG }}"
version_type: beta # or beta, alpha
featured: false
updatable: false # default true, means updating existing version

View File

@ -4,7 +4,7 @@ plugins {
}
group = "cn.lunadeer"
version = "2.6.7-beta"
version = "2.6.8-beta"
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(21))