From 4e74dc93549fc33dc972c2f8b4d00e701d042628 Mon Sep 17 00:00:00 2001 From: monosoul Date: Sat, 10 Feb 2024 09:12:07 +0100 Subject: [PATCH] ci: use JDK 21 in CI --- .github/workflows/build-on-pr.yml | 8 ++++---- .github/workflows/build-on-push-to-main.yml | 4 ++-- .github/workflows/publish-on-release.yml | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-on-pr.yml b/.github/workflows/build-on-pr.yml index 6fce874..db4cacd 100644 --- a/.github/workflows/build-on-pr.yml +++ b/.github/workflows/build-on-pr.yml @@ -13,11 +13,11 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: '17' + java-version: '21' - name: Run tests uses: gradle/actions/setup-gradle@v3 with: @@ -51,11 +51,11 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: '17' + java-version: '21' - name: Publish plugin uses: gradle/actions/setup-gradle@v3 with: diff --git a/.github/workflows/build-on-push-to-main.yml b/.github/workflows/build-on-push-to-main.yml index fd43a34..b257dd3 100644 --- a/.github/workflows/build-on-push-to-main.yml +++ b/.github/workflows/build-on-push-to-main.yml @@ -11,11 +11,11 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: '17' + java-version: '21' - name: Run tests uses: gradle/actions/setup-gradle@v3 with: diff --git a/.github/workflows/publish-on-release.yml b/.github/workflows/publish-on-release.yml index 691a2f3..fe0e7a3 100644 --- a/.github/workflows/publish-on-release.yml +++ b/.github/workflows/publish-on-release.yml @@ -11,11 +11,11 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: '17' + java-version: '21' - name: Run tests uses: gradle/actions/setup-gradle@v3 with: