-
-
Notifications
You must be signed in to change notification settings - Fork 1
31 lines (27 loc) · 1.13 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# File generated by the GradleUtils `setupGitHubActionsWorkflows` task, avoid modifying it directly
# The template can be found at https://github.com/neoforged/GradleUtils/blob/a65628b0c89dec60b357ce3f8f6bfa62934b8357/src/actionsTemplate/resources/.github/workflows/publish-prs.yml
name: Release
on:
workflow_dispatch:
inputs:
minecraft_version:
type: string
description: The Minecraft Version for which to publish
required: true
permissions:
contents: read
statuses: write
jobs:
release:
uses: neoforged/actions/.github/workflows/gradle-publish.yml@main
with:
java: 21
gradle_tasks: publish "-PminecraftVersion=${{ github.event.inputs.minecraft_version }}"
version_task: configureGitHubActions "-PminecraftVersion=${{ github.event.inputs.minecraft_version }}"
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 }}