Skip to content

1.1.1 for 1.20.2

1.1.1 for 1.20.2 #4

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 17
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
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