Skip to content

BreweryX - v3.4.8

BreweryX - v3.4.8 #6

Workflow file for this run

name: 'Publish to Modrinth, Hangar, Maven, and post to Discord'
on:
release:
branches: [master]
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Publish BreweryX release
uses: gradle/gradle-build-action@v3
env:
CHANGELOG: ${{ github.event.release.body }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
HANGAR_TOKEN: ${{ secrets.HANGAR_TOKEN }}
REPO_USERNAME: ${{ secrets.REPO_USERNAME }}
REPO_SECRET: ${{ secrets.REPO_SECRET }}
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
with:
arguments: publishRelease -Dsources=true --stacktrace