From 95ad3ef860805f1a978838f4b04bb43d5d5c5df6 Mon Sep 17 00:00:00 2001 From: Ralph Schaer Date: Thu, 29 Feb 2024 07:33:37 +0100 Subject: [PATCH] Upgrade --- .github/workflows/maven.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 5ce688d..61f0606 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -6,13 +6,14 @@ jobs: test: strategy: matrix: - java: [11, 15] + java: [11, 17, 21] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Set up Java - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: + distribution: 'temurin' java-version: ${{ matrix.java }} - name: Maven Install and Test run: | @@ -23,10 +24,11 @@ jobs: needs: test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Set up Java 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: + distribution: 'temurin' java-version: 11 - name: Deploy to Sonatype run: ./mvnw -B -Drepo.username=${{secrets.SONATYPE_USERNAME}} -Drepo.password=${{secrets.SONATYPE_PASSWORD}} clean deploy -DskipTests=true --settings mySettings.xml