Skip to content

Release with actions (#383) #1

Release with actions (#383)

Release with actions (#383) #1

Workflow file for this run

name: Release
on:
push:
branches:
- '1.*'
permissions:
contents: read
statuses: write
jobs:
release:
uses: neoforged/actions/.github/workflows/gradle-publish.yml@main
with:
java: 17
pre_gradle_tasks: setup
gradle_tasks: publish
version_labels: -beta, -stable
# We only publish the main repository. This way we avoid publishing Kits
if: ${{ github.repository == 'neoforged/NeoForge' }}
secrets:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
MAVEN_USER: ${{ secrets.MAVEN_USER }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
GPG_SUBKEY: ${{ secrets.GPG_SUBKEY }}
GPG_SUBKEY_ID: ${{ secrets.GPG_SUBKEY_ID }}
GPG_SUBKEY_PASSWORD: ${{ secrets.GPG_SUBKEY_PASSWORD }}