From 5034af253622b460f657c563c83cc484d9ed06f2 Mon Sep 17 00:00:00 2001 From: Jean Francois Denise Date: Mon, 13 May 2024 10:54:10 +0200 Subject: [PATCH] Upgrade CI github actions --- .github/workflows/ci.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e6feee83..804c464c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,22 +36,18 @@ jobs: java: ['11', '21'] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/cache@v1 - with: - path: ~/.m2/repository - key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} - restore-keys: | - ${{ runner.os }}-maven- - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: ${{ matrix.java }} + distribution: 'temurin' + cache: 'maven' - name: Build and Test on ${{ matrix.java }} run: mvn clean install - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 if: failure() with: name: surefire-reports-${{ matrix.os }}-${{ matrix.java }}