Skip to content

Commit

Permalink
Create modrinth.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsTheSky authored Jun 3, 2024
1 parent 7787e22 commit 71ae635
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/modrinth.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
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

0 comments on commit 71ae635

Please sign in to comment.