From 5b77c1d00e12f2482a5628634440c7171dbecd79 Mon Sep 17 00:00:00 2001 From: Ennio Visconti Date: Mon, 30 Oct 2023 14:58:04 +0100 Subject: [PATCH] updated actions to java 21 --- .github/workflows/build.yml | 6 +++--- .github/workflows/docs.yml | 2 +- .github/workflows/publish.yml | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5e2b4df4..af98fd80 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -65,11 +65,11 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: - java-version: '17' - distribution: 'adopt' + java-version: 21 + distribution: adopt cache: gradle - name: Restore tests cache uses: actions/cache/restore@v3 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index be181d31..1badd9eb 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -29,7 +29,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v3 with: - java-version: 17 + java-version: 21 distribution: adopt cache: gradle - name: Build documentation diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 273a4425..a618df46 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -77,11 +77,11 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v2 with: - java-version: '17' - distribution: 'adopt' + java-version: 21 + distribution: adopt cache: gradle - name: Find and Replace