You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by cs...@apache.org on 2020/12/09 19:15:43 UTC

[maven-resolver] branch master updated: Maven GH Workflow update

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

cstamas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-resolver.git


The following commit(s) were added to refs/heads/master by this push:
     new e7fa855  Maven GH Workflow update
e7fa855 is described below

commit e7fa8558aa269ea9e6d6be9d77ed04c09406477f
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Wed Dec 9 20:10:47 2020 +0100

    Maven GH Workflow update
    
    Changes
    - fix typo (c&p)
    - update cache version
    - adjust java value as in GH doco
---
 .github/workflows/maven.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 6d265d4..eb39c5d 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -32,18 +32,18 @@ jobs:
       - name: Checkout
         uses: actions/checkout@v2
 
-      - name: Set up cache for ~./m2/repository
-        uses: actions/cache@v1
+      - name: Set up cache for ~/.m2/repository
+        uses: actions/cache@v2
         with:
           path: ~/.m2/repository
           key: maven-${{ matrix.os }}-${{ hashFiles('**/pom.xml') }}
           restore-keys: |
             maven-${{ matrix.os }}-
 
-      - name: Set up JDK
+      - name: Set up JDK 1.8
         uses: actions/setup-java@v1
         with:
-          java-version: 8
+          java-version: 1.8
 
       - name: Build with Maven
         run: mvn clean verify -e -B -V