Skip to content

Build and Publish

Build and Publish #64

Workflow file for this run

name: Build and Publish
on: [create]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v3
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- name: Grant execute permission
run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew spotlessCheck build modrinth
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}