From 6eff0113090852fe76c3c8cb018836a378b29ad5 Mon Sep 17 00:00:00 2001 From: Augusto Date: Thu, 14 Nov 2024 10:30:27 +0100 Subject: [PATCH] Incresing actions java version --- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 2 +- pom.xml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fc1aaa1..2829dc1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: '8' + java-version: '16' cache: 'maven' - name: Build Annotation project @@ -50,7 +50,7 @@ jobs: - uses: javiertuya/branch-snapshots-action@v1.2.3 with: token: ${{ secrets.GITHUB_TOKEN }} - java-version: '8' + java-version: '16' mvn-deploy-args: '-P publish-github -DskipTests=true -Dmaven.test.failure.ignore=false -U --no-transfer-progress' delete-old-snapshots: true min-snapshots-to-keep: 2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2d511cb..2570c32 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ jobs: uses: actions/setup-java@v4 with: # running setup-java again overwrites the settings.xml distribution: 'temurin' - java-version: '8' + java-version: '16' server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml server-username: MAVEN_USERNAME # env variable for username in deploy server-password: MAVEN_CENTRAL_TOKEN # env variable for token in deploy diff --git a/pom.xml b/pom.xml index e12293e..a0ded23 100644 --- a/pom.xml +++ b/pom.xml @@ -16,8 +16,8 @@ - 21 - 21 + 16 + 16 UTF-8