测试 hangar 发布脚本

This commit is contained in:
zhangyuheng 2024-09-11 14:26:30 +08:00
parent 1ba7de75cb
commit e126a2629e
2 changed files with 5 additions and 4 deletions

View File

@ -52,15 +52,16 @@ jobs:
uses: dsx137/modrinth-release-action@main uses: dsx137/modrinth-release-action@main
env: env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }} MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
TAG: ${{ needs.build.outputs.release_tag }}
with: with:
name: ${{ needs.build.outputs.release_tag }} name: ${{ env.TAG }}
project_id: vVZc7jAV project_id: vVZc7jAV
loaders: bukkit,folia,paper,purpur,spigot loaders: bukkit,folia,paper,purpur,spigot
game_versions: 1.20.1:1.20.6,1.21,1.21.1 game_versions: 1.20.1:1.20.6,1.21,1.21.1
version_number: ${{ needs.build.outputs.release_tag }} version_number: ${{ env.TAG }}
files: | files: |
build/libs/*.jar build/libs/*.jar
changelog: "See https://github.com/ColdeZhang/Dominion/releases/tag/${{ needs.build.outputs.release_tag }}" changelog: "See https://github.com/ColdeZhang/Dominion/releases/tag/${{ env.TAG }}"
version_type: beta version_type: beta
featured: false featured: false
updatable: false updatable: false

View File

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