From 0a20073e92947276f19562df97dfc68812e99111 Mon Sep 17 00:00:00 2001 From: misterx Date: Wed, 8 May 2024 22:33:53 +0200 Subject: [PATCH] update gh actions to java 21 --- .github/workflows/build.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index af3ff77f..db89e747 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,7 @@ name: Build on: push: paths-ignore: + - 'readmes/*' - '*.md' pull_request: workflow_dispatch: @@ -15,18 +16,16 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v2 with: - java-version: 17 + java-version: 21 distribution: 'zulu' - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle run: | - ./gradlew apiJar - ./gradlew remapApiJar ./gradlew build - name: Upload Artifact