Skip to content

release

release #24

Workflow file for this run

name: Build & Release
on:
push:
tags: [ "*" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Generate changelog
id: changelog
uses: metcalfc/[email protected]
with:
myToken: ${{ secrets.GITHUB_TOKEN }}
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'adopt'
cache: maven
- name: Build with Maven
run: mvn clean package
- name: Release
uses: Kir-Antipov/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
modrinth-id: 6zYtBRSV
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
modrinth-featured: true
loaders: |
bukkit
spigot
paper
purpur
folia
game-versions: ">=1.8"
game-version-filter: releases
files: |
**/target/topper-*-shaded.jar
**/target/topper-*-@(sources|javadoc).jar
name: ${{ github.ref_name }}
changelog: ${{ steps.changelog.outputs.changelog }}
version: ${{ github.ref_name }}