From 611cbb499c98fb43ea6b02b7ee1559c51853532a Mon Sep 17 00:00:00 2001 From: Villu Ruusmann Date: Sun, 8 Dec 2024 14:59:32 +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 9e48a11b..c378fe63 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -13,13 +13,10 @@ jobs: java: [ 8, 9, 10, 11, 12, 13, 14, 15, 16, 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