Skip to content

Commit

Permalink
adding modrinth to release action
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMarstonConnell committed Jan 12, 2024
1 parent be0ee23 commit 8fa4155
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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

0 comments on commit 8fa4155

Please sign in to comment.