Skip to content

Mod publication

Mod publication #29

Workflow file for this run

name: Mod publication
on:
workflow_dispatch:
release:
types:
- published
jobs:
publish:
name: Build
runs-on: ubuntu-latest
steps:
- name: Setup JDK 21
uses: actions/setup-java@v1
with:
java-version: 21
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1
- run: chmod +x gradlew
- name: Publish
run: ./gradlew publish
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
CURSE_API_KEY: ${{ secrets.CURSE_API_KEY }}