Skip to content

Commit 53364d4

Browse files
committed
add modrinth cicd
1 parent 5331ba6 commit 53364d4

3 files changed

Lines changed: 24 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,24 @@ jobs:
4646
prerelease: false
4747
files: |
4848
staging/*.jar
49+
- name: "Modrinth Release"
50+
uses: dsx137/modrinth-release-action@main
51+
env:
52+
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
53+
RELEASE_TAG: ${{ env.TAG }}
54+
with:
55+
name: ${{ env.RELEASE_TAG }}
56+
project_id: OSGNJlhi
57+
loaders: bukkit,folia,paper,purpur,spigot
58+
game_versions: 1.20.1:1.20.6,1.21,1.21.1
59+
version_number: ${{ env.RELEASE_TAG }}
60+
files: |
61+
staging/*.jar
62+
changelog: "See https://github.com/ColdeZhang/Dominion/releases/tag/${{ env.RELEASE_TAG }}"
63+
version_type: release
64+
featured: false
65+
updatable: false
66+
delete_old_files: false
4967
- name: "Hangar Release"
5068
env:
5169
HANGAR_TOKEN: ${{ secrets.HANGAR_API_TOKEN }}

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
[![bStats](https://img.shields.io/badge/bStats-Statistics-eacd76?logo=google-analytics)](https://bstats.org/plugin/bukkit/ColorfulMap/21443)
99
[![Latest Build](https://img.shields.io/github/v/release/ColdeZhang/ReColorfulMap?label=LatestBuild&logo=github&color=0aa344)](https://github.com/ColdeZhang/ReColorfulMap/releases/latest)
1010

11+
[![Hangar](https://img.shields.io/badge/To-Hangar-004ee9)](https://hangar.papermc.io/zhangyuheng/ReColorfulMap)
12+
[![Modrinth](https://img.shields.io/badge/To-Modrinth-1bd96a)](https://modrinth.com/project/recolorfulmap)
13+
[![Spigot](https://img.shields.io/badge/To-Spigot-ed8106)]()
14+
1115
</div>
1216

1317
## Description
@@ -115,7 +119,7 @@ GitHub: [Issues](https://github.com/ColdeZhang/ReColorfulMap/issues)
115119
116120
QQ群:309428300
117121
118-
## 统计
122+
## bStats
119123
120124
![bstats](https://bstats.org/signatures/bukkit/ColorfulMap.svg)
121125

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
}
88

99
group = "cn.lunadeer"
10-
version = "3.1-rc.0"
10+
version = "3.1-rc.1"
1111

1212
repositories {
1313
mavenCentral()

0 commit comments

Comments
 (0)