Skip to content

1.21.1-1.0.2

1.21.1-1.0.2 #3

Workflow file for this run

name: publish-modrinth
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: 21
distribution: temurin
cache: gradle
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Gradle Build
run: /bin/sh ./gradlew assemble
- name: Modrinth Publish
run: /bin/sh ./gradlew modrinth -Pmodrinth_api_key=${{ secrets.MODRINTH_KEY }} --stacktrace -x test