Skip to content

Try to fix publishing #5

Try to fix publishing

Try to fix publishing #5

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:
push:
branches: [ "main" ]
permissions:
contents: write
statuses: write
jobs:
release:

Check failure on line 15 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 15, Col: 3): Error calling workflow 'neoforged/actions/.github/workflows/gradle-publish.yml@main'. The workflow is requesting 'statuses: write', but is only allowed 'statuses: none'.
uses: neoforged/actions/.github/workflows/gradle-publish.yml@main
permissions:
contents: write
with:
java: 17
pre_gradle_tasks: build
gradle_tasks: publishMods
secrets:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
MAVEN_USER: ${{ secrets.MAVEN_USER }}
MAVEN_PASSWORD: ${{ github.token }}
GPG_SUBKEY: ${{ secrets.GPG_SUBKEY }}
GPG_SUBKEY_ID: ${{ secrets.GPG_SUBKEY_ID }}
GPG_SUBKEY_PASSWORD: ${{ secrets.GPG_SUBKEY_PASSWORD }}