From 799a79f0e0ed7871d4afe61b8e6c7580a80064d9 Mon Sep 17 00:00:00 2001 From: Villu Ruusmann Date: Sat, 14 Dec 2024 09:40:15 +0200 Subject: [PATCH] Updated GitHub Actions CI configuration --- .github/workflows/maven.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 9b5563aa8..cbcbf563e 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -13,13 +13,10 @@ jobs: java: [ 8, 11, 17 ] steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v1 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: + distribution: 'zulu' java-version: ${{ matrix.java }} - - uses: actions/cache@v2 - with: - path: ~/.m2 - key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} - restore-keys: ${{ runner.os }}-m2 + cache: 'maven' - run: mvn -B package --file pom.xml