Skip to content

PhatLoots v5.6.0

PhatLoots v5.6.0 #1

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
cache: gradle
- name: Build with Gradle
run: ./gradlew build
- name: Publish to Modrinth
if: ${{ success() && github.repository == 'Redned235/PhatLoots' && github.ref_name == 'master' }}
env:
CHANGELOG: ${{ github.event.head_commit.message }}
BUILD_NUMBER: ${{ github.run_number }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
run: ./gradlew modrinth