From efdd7eba1833ce74d72a1bceb23fc6309bfd14be Mon Sep 17 00:00:00 2001 From: Marco Brandizi Date: Thu, 20 Jul 2023 11:16:24 +0100 Subject: [PATCH] Migrating to Java 17. Upgrading GH Actions. --- .github/workflows/deploy.yml | 15 +++++++-------- pom.xml | 4 ++-- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 86f0b9011..1c8d3e4f6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -29,17 +29,17 @@ jobs: steps: - name: Code checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - - name: Set up JDK 11 - uses: actions/setup-java@v2 + - name: Set up JDK + uses: actions/setup-java@v3 with: - distribution: 'adopt' - java-version: 11 + distribution: 'temurin' + java-version: 17 settings-path: ${{ github.workspace }} # location for the settings.xml file - name: Cache Maven packages - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} @@ -60,5 +60,4 @@ jobs: wget "$CI_DIR_URL/install.sh" -O ci-build/install.sh bash ./ci-build/install.sh bash ./ci-build/build.sh - - \ No newline at end of file + \ No newline at end of file diff --git a/pom.xml b/pom.xml index d75297dd1..105e2969c 100644 --- a/pom.xml +++ b/pom.xml @@ -238,8 +238,8 @@ maven-compiler-plugin 3.11.0 - 11 - 11 + 17 + 17 utf-8