Skip to content

Commit

Permalink
[ci skip] added modrinth publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
NonSwag committed Jul 5, 2024
1 parent 7326d29 commit fc1e200
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/modrinth-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Modrinth Publish

on:
release:
types:
- prereleased
- released

jobs:
build:
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Publish with Gradle to Modrinth
uses: gradle/actions/setup-gradle@v3
with:
arguments: modrinth

0 comments on commit fc1e200

Please sign in to comment.