Skip to content

fix: build with java 21 #24

fix: build with java 21

fix: build with java 21 #24

Workflow file for this run

name: Build & Release
on:
push:
tags:
- 'release/**/*'
jobs:
build:
if: |
!contains(github.event.head_commit.message, '[ciskip]')
uses: nanite/workflows/.github/workflows/[email protected]
with:
gradle-tasks: 'build publish publishMods'
java-version: '21'

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

View workflow run for this annotation

GitHub Actions / Build & Release

Invalid workflow file

The workflow is not valid. .github/workflows/build-release.yml (Line: 15, Col: 21): Unexpected value '21'
secrets:
nanite-token: ${{ secrets.NANITE_DEPLOY }}
curse-token: ${{ secrets.CURSE_DEPLOY }}
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}