Skip to content

Release

Release #48

Workflow file for this run

name: Release
on: [workflow_dispatch]
jobs:
release:
runs-on: ubuntu-latest
container:
image: openjdk:17-jdk
options: --user root
steps:
- uses: actions/[email protected]
- run: |
chmod +x ./gradlew
./gradlew build publish github curseforge modrinth --stacktrace
env:
CURSEFORGE_API_KEY: ${{ secrets.CURSEFORGE_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GH_API_KEY }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}