From c01fa2fb3fc2993bab8dd1223c61e0642e5140b2 Mon Sep 17 00:00:00 2001 From: carm Date: Tue, 5 Mar 2024 19:59:30 +0800 Subject: [PATCH] ci(deploy): Support modrinth auto-deployment --- .github/workflows/deploy.yml | 41 ++++++++++++++++++------------------ pom.xml | 2 +- 2 files changed, 22 insertions(+), 21 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c8aa1af..815e7d8 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -36,26 +36,27 @@ jobs: asset_path: ".asset/*.jar" asset_content_type: application/java-archive -# - name: "Modrinth Publish" -# id: publish-modrinth -# uses: Kir-Antipov/mc-publish@v3.3 -# with: -# modrinth-id: kyCduETO -# modrinth-featured: true -# modrinth-token: ${{ secrets.MODRINTH_TOKEN }} -# files: | -# .asset/*.jar -# loaders: | -# spigot -# paper -# purpur -# game-versions: | -# >=1.16 <=1.20.4 -# game-version-filter: releases -# java: | -# 17 -# dependencies: | -# placeholderapi(optional) + - name: "Modrinth Publish" + id: publish-modrinth + uses: Kir-Antipov/mc-publish@v3.3 + with: + modrinth-id: iJ735gQq + modrinth-featured: true + modrinth-token: ${{ secrets.MODRINTH_TOKEN }} + files: | + .asset/*.jar + loaders: | + spigot + paper + purpur + game-versions: | + >=1.16 <=1.20.4 + game-version-filter: releases + java: | + 17 + dependencies: | + votepass@1.4.0(required){modrinth:kyCduETO} + placeholderapi(optional) - name: Update dependency graph uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6 \ No newline at end of file diff --git a/pom.xml b/pom.xml index 19bc72a..0401eba 100644 --- a/pom.xml +++ b/pom.xml @@ -17,7 +17,7 @@ com.artformgames votepass-mailer - 1.0.0 + 1.0.1 VotePass-Mailer Support email notify for VotePass in game servers.