From 7672a88cf01c527bae46e5ba54acb319acb0ca39 Mon Sep 17 00:00:00 2001 From: Matyrobbrt Date: Fri, 12 Apr 2024 22:44:51 +0300 Subject: [PATCH] Build with Java 17 --- .github/workflows/build-prs.yml | 4 ++-- .github/workflows/release.yml | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-prs.yml b/.github/workflows/build-prs.yml index bb62a6c..bd64940 100644 --- a/.github/workflows/build-prs.yml +++ b/.github/workflows/build-prs.yml @@ -19,5 +19,5 @@ jobs: build: uses: neoforged/actions/.github/workflows/build-prs.yml@main with: - java: 8 - gradle_tasks: test \ No newline at end of file + java: 17 + gradle_tasks: test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c77e47b..f2a6069 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: release: uses: neoforged/actions/.github/workflows/gradle-publish.yml@main with: - java: 8 + java: 17 pre_gradle_tasks: test gradle_tasks: publish secrets: @@ -25,4 +25,3 @@ jobs: GPG_SUBKEY: ${{ secrets.GPG_SUBKEY }} GPG_SUBKEY_ID: ${{ secrets.GPG_SUBKEY_ID }} GPG_SUBKEY_PASSWORD: ${{ secrets.GPG_SUBKEY_PASSWORD }} - \ No newline at end of file