You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2021/09/26 15:02:51 UTC

[maven-help-plugin] 01/02: Bump actions/setup-java from 2.2.0 to 2.3.0

This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch MPH-181
in repository https://gitbox.apache.org/repos/asf/maven-help-plugin.git

commit 9ffca75caebdfefa1e44d438de29e9edc4daff84
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Sun Sep 26 16:55:55 2021 +0200

    Bump actions/setup-java from 2.2.0 to 2.3.0
---
 .github/workflows/maven.yml | 21 ++++-----------------
 1 file changed, 4 insertions(+), 17 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 7e73cc5..1dd7c61 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -21,32 +21,19 @@ on: [push, pull_request]
 
 jobs:
   build:
-
     strategy:
       matrix:
         os: [ubuntu-latest, windows-latest, macOS-latest]
-        java: [8, 11, 17-ea]
+        java: [8, 11, 17]
       fail-fast: false
-
     runs-on: ${{ matrix.os }}
 
     steps:
-      - name: Checkout
-        uses: actions/checkout@v2.3.4
-
-      - name: Cache local Maven repository
-        uses: actions/cache@v2.1.6
-        with:
-            path: ~/.m2/repository
-            key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
-            restore-keys: |
-                ${{ runner.os }}-maven-
-
-      - name: Set up JDK
-        uses: actions/setup-java@v2.2.0
+      - uses: actions/checkout@v2
+      - uses: actions/setup-java@v2
         with:
           java-version: ${{ matrix.java }}
           distribution: 'temurin'
-
+          cache: 'maven'
       - name: Build with Maven
         run: mvn verify -e -B -V -P run-its