From 71ae635622a97a9c443a32f31da0d9db89c16060 Mon Sep 17 00:00:00 2001 From: Sky <50667548+ItsTheSky@users.noreply.github.com> Date: Mon, 3 Jun 2024 16:10:01 +0200 Subject: [PATCH] Create modrinth.yml --- .github/workflows/modrinth.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/modrinth.yml diff --git a/.github/workflows/modrinth.yml b/.github/workflows/modrinth.yml new file mode 100644 index 00000000..03708a38 --- /dev/null +++ b/.github/workflows/modrinth.yml @@ -0,0 +1,18 @@ +name: Publish to Modrinth +'on': + release: + types: [ published ] +jobs: + publish: + name: Build and Upload JARs + runs-on: ubuntu-latest + steps: + - name: Upload to Modrinth + uses: cloudnode-pro/modrinth-publish@1.0.0 + with: + token: ${{ secrets.MODRINTH_TOKEN }} + project: 4KA72Zn8 + file: target/DiSky-v${{ github.event.release.tag_name }}.jar + changelog: ${{ github.event.release.body }} + loaders: paper, spigot + api-domain: api.modrinth.com