From 8fa4155a5404b79dc51b935304c64b950a4a9b7e Mon Sep 17 00:00:00 2001 From: marston Date: Fri, 12 Jan 2024 16:44:10 -0500 Subject: [PATCH] adding modrinth to release action --- .github/workflows/publish.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7240dff..5c1b6dd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -55,9 +55,21 @@ jobs: with: file_path: "build/libs/${{ steps.file_name.outputs.FILE_NAME }}" game_endpoint: "minecraft" - game_versions: "Minecraft 1.20:1.20.1,Java 17,Forge" + game_versions: "Minecraft 1.20:1.20.2,Java 17,Forge" token: "${{ secrets.CurseForge }}" project_id: "301631" display_name: "Random Loot 2 - ${{ steps.get_version.outputs.VERSION }}" release_type: ${{ steps.release_type.outputs.RELEASE_TYPE }} changelog: "# Change Log\n\nClick [here](https://github.com/TheMarstonConnell/randomloot/releases/tag/${{ steps.get_version.outputs.VERSION }}) for full list of changes." + - name: Upload to Modrinth + uses: Kir-Antipov/mc-publish@v3.3 + with: + modrinth-id: bM2Gf75C + modrinth-token: ${{ secrets.MODRINTH_TOKEN }} + changelog: "# Change Log\n\nClick [here](https://github.com/TheMarstonConnell/randomloot/releases/tag/${{ steps.get_version.outputs.VERSION }}) for full list of changes." + files: build/libs/*.jar + name: "Random Loot 2 - ${{ steps.get_version.outputs.VERSION }}" + version-type: ${{ steps.release_type.outputs.RELEASE_TYPE }} + game-versions: "[1.20.2,)" + loaders: forge + java: 17