From 25a3d9dda098915c335e658931b144fa75c9d514 Mon Sep 17 00:00:00 2001 From: Ralph Schaer Date: Thu, 29 Feb 2024 07:34:08 +0100 Subject: [PATCH] Upgrade --- .github/workflows/maven.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 2cf93bdf..23d3146a 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -8,20 +8,20 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Java 17 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: 17 - name: Build with Java 17 run: ./mvnw -B clean test --file pom.xml - - name: Set up Java 19 - uses: actions/setup-java@v3 + - name: Set up Java 21 + uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: 19 - - name: Build with Java 19 + java-version: 21 + - name: Build with Java 21 run: ./mvnw -B clean test --file pom.xml - name: Deploy to Sonatype run: ./mvnw -B -Drepo.username=${{secrets.SONATYPE_USERNAME}} -Drepo.password=${{secrets.SONATYPE_PASSWORD}} clean deploy -DskipTests=true --settings mySettings.xml