Skip to content

[publish]

[publish] #4

Workflow file for this run

name: Release
on: [push] # Manual trigger
permissions:
contents: write
jobs:
build:
if: contains(github.event.head_commit.message, '[publish]')
runs-on: ubuntu-22.04
container:
image: mcr.microsoft.com/openjdk/jdk:17-ubuntu
options: --user root
steps:
- uses: actions/checkout@v4
- run: ./gradlew build publishMods
env:
CURSEFORGE_API_KEY: ${{ secrets.CURSEFORGE_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}