Skip to content

Release

Release #6

Workflow file for this run

name: Release
on: [release, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
environment: Production
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Build with Gradle
shell: bash
run: ./gradlew build
- uses: Kir-Antipov/[email protected]
with:
modrinth-id: Xv9MHBa1
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}