You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2020/10/11 10:50:58 UTC

[isis-app-simpleapp] branch master updated: try fixing ci build (7)

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

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis-app-simpleapp.git


The following commit(s) were added to refs/heads/master by this push:
     new 70a708e  try fixing ci build (7)
70a708e is described below

commit 70a708e740b85f886c3a6068786bfb6ccb3f63ef
Author: Andi Huber <ah...@apache.org>
AuthorDate: Sun Oct 11 12:50:50 2020 +0200

    try fixing ci build (7)
---
 .github/workflows/maven.yml | 21 +++++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 4dff3ed..0730aab 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -15,15 +15,32 @@ jobs:
     runs-on: ubuntu-latest
 
     steps:
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v2.3.3
+    
     - name: Set up JDK 1.8
       uses: actions/setup-java@v1
       with:
         java-version: 1.8
+    
+    - name: Print Maven Version
+      run: mvn --version
+      
+    - name: Activate Cache for Maven Downloads
+      uses: actions/cache@v2
+      env:
+        cache-name: cache-maven-modules
+      with:
+        path: ~/.m2/repository
+        key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
+        restore-keys: |
+          ${{ runner.os }}-build-${{ env.cache-name }}-
+          ${{ runner.os }}-build-
+          ${{ runner.os }}-
+    
     - name: Build with Maven
       shell: bash
       run: |
         mv pom.xml pom.xml~
         mv pom-ci.xml pom.xml
-        mvn versions:update-parent -DallowSnapshots=true
+        mvn versions:update-parent -DallowSnapshots=true -DparentVersion=2.0.0-M2.20201011-0401-e11740f5
         mvn install