Skip to content

Add basic structure of punishment logs/history #107

Add basic structure of punishment logs/history

Add basic structure of punishment logs/history #107

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# GitHub recommends pinning actions to a commit SHA.
# To get a newer version, you will need to update the SHA.
# You can also reference a tag or branch, but the action may change without warning.
name: Publish package to the Maven Central Repository
on:
release:
types: [created]
push:
branches:
- '**'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@f9c9c575b8b21b6485636a91ffecd10e558c62f6
- name: Build
run: ./gradlew build --stacktrace
- name: Publish
if: ${{ github.event_name == 'push' && !startsWith(github.ref, 'renovate/**') }}
run: ./gradlew publish --stacktrace
env:
SONATYPE_USERNAME: ${{ secrets.OSSRH_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }}
- name: Generate javadocs
run: ./gradlew alljavadoc --stacktrace
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build/docs/javadoc