Skip to content

Commit

Permalink
Add Java 21 to the JDK list
Browse files Browse the repository at this point in the history
  • Loading branch information
Matyrobbrt committed Apr 20, 2024
1 parent 2750544 commit b7f4930
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
build:
uses: neoforged/actions/.github/workflows/build-prs.yml@main
with:
java: ${ jdkVersion in ['8', '11', '17'] ? jdkVersion : '17' }
java: ${ jdkVersion in ['8', '11', '17', '21'] ? jdkVersion : '17' }
gradle_tasks: ${ project.tasks.findByName('test')?.enabled ? 'test' : 'build' }
jar_compatibility: ${ withJCC ? 'true' : 'false' }
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
release:
uses: neoforged/actions/.github/workflows/gradle-publish.yml@main
with:
java: ${ jdkVersion in ['8', '11', '17'] ? jdkVersion : '17' }
java: ${ jdkVersion in ['8', '11', '17', '21'] ? jdkVersion : '17' }
pre_gradle_tasks: ${ project.tasks.findByName('test')?.enabled ? 'test' : "''" }
gradle_tasks: publish ${ project.plugins.hasPlugin('io.github.gradle-nexus.publish-plugin') ? 'closeAndReleaseSonatypeStagingRepository' : '' }
secrets:
Expand Down

0 comments on commit b7f4930

Please sign in to comment.