Skip to content

KISS – Keep Inventories Sorted, Simple v0.5.0 #3

KISS – Keep Inventories Sorted, Simple v0.5.0

KISS – Keep Inventories Sorted, Simple v0.5.0 #3

Workflow file for this run

name: Publish Release
on:
release:
types:
- published
jobs:
publish:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
cache: 'gradle'
- name: Setup Gradle
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build --no-daemon
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
path: build/libs/
- name: Publish to Modrinth and GitHub
uses: Kir-Antipov/[email protected]
with:
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
version-type: release