Skip to content

Update publishing

Update publishing #131

Workflow file for this run

# File generated by the GradleUtils `setupGitHubActionsWorkflows` task, avoid modifying it directly
# The template can be found at https://github.com/neoforged/GradleUtils/blob/72be0f55ce3f6e91f89cfd7847143b9ef1dcc3e9/src/actionsTemplate/resources/.github/workflows/release.yml
name: Release
on:
workflow_dispatch:
push:
branches: ['26.*']
permissions:
contents: read
statuses: write
jobs:
release:
uses: neoforged/actions/.github/workflows/gradle-publish.yml@main
with:
java: 21
pre_gradle_tasks: test
gradle_tasks: :runtime:publish :core:publish
secrets:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
MAVEN_USER: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}