Skip to content

Polysit 0.6.2 for Minecraft 1.20.5-1.21 #14

Polysit 0.6.2 for Minecraft 1.20.5-1.21

Polysit 0.6.2 for Minecraft 1.20.5-1.21 #14

Workflow file for this run

name: Publish release
on:
release:
types:
- published
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: 21
- name: Build and publish with Gradle
run: ./gradlew modrinth publish
env:
BUILD_RELEASE: ${{github.event.prelease == false}}
MODRINTH_TOKEN: ${{secrets.MODRINTH}}
CHANGELOG: ${{ github.event.release.body }}
- name: Upload build artifacts
uses: AButler/[email protected]
with:
files: 'build/libs/*;!build/libs/*-sources.jar;!build/libs/*-dev.jar'
repo-token: ${{secrets.GITHUB_TOKEN}}