Remove branch suffix from version #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# File generated by the GradleUtils `setupGitHubActionsWorkflows` task, avoid modifying it directly | |
# The template can be found at https://github.com/neoforged/GradleUtils/blob/44d9e09cfa2c6032b84ac40495ea5ab7d64fe521/src/actionsTemplate/resources/.github/workflows/release.yml | |
name: Release | |
on: | |
push: | |
branches: | |
- '1.*' | |
permissions: | |
contents: read | |
statuses: write | |
jobs: | |
release: | |
uses: neoforged/actions/.github/workflows/gradle-publish.yml@main | |
with: | |
java: 21 | |
pre_gradle_tasks: build | |
gradle_tasks: publish | |
secrets: | |
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} | |
MAVEN_USER: ${{ secrets.MAVEN_USERNAME }} | |
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} |