Skip to content

1.3.1 for 1.20.5

1.3.1 for 1.20.5 #11

Workflow file for this run

name: Publish to Modrinth on GitHub release
on:
release:
types:
- published
jobs:
build_and_publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup JDK 21
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 21
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with gradle
run: ./gradlew build
- name: Publish to Modrinth with minotaur
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
run: ./gradlew modrinth