Skip to content

Build and Publish

Build and Publish #34

Workflow file for this run

name: Build and Publish
on: [create]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
- uses: actions/setup-java@v3
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 }}