Skip to content

Commit

Permalink
测试modrinth发布脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdeZhang committed Sep 11, 2024
1 parent ea8c171 commit f9a5535
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,16 @@ jobs:
uses: dsx137/modrinth-release-action@main
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
VERSION: ${{ steps.build.outputs.TAG }}
with:
name: "${{ steps.build.outputs.TAG }}"
name: ${{ env.VERSION }}
project_id: vVZc7jAV
loaders: Bukkit,Folia,Paper,Purpur,Spigot
game_versions: 1.20.1:1.20.6,1.21,1.21.1
version_number: "${{ steps.build.outputs.TAG }}"
version_number: ${{ env.VERSION }}
files: |
staging/*.jar
changelog: "See https://github.com/ColdeZhang/Dominion/releases/tag/${{ steps.build.outputs.TAG }}"
changelog: "See https://github.com/ColdeZhang/Dominion/releases/tag/${{ env.VERSION }}"
version_type: beta # or beta, alpha
featured: false
updatable: false # default true, means updating existing version
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

group = "cn.lunadeer"
version = "2.6.6-beta"
version = "2.6.7-beta"

java {
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
Expand Down

0 comments on commit f9a5535

Please sign in to comment.