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

gnodet pushed a commit to branch MNG-7129-maven-caching
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/MNG-7129-maven-caching by this 
push:
     new 1c18ff8  Another attempt
1c18ff8 is described below

commit 1c18ff85aa121baedde0781bf256d6a8d6eab5b8
Author: Guillaume Nodet <gno...@gmail.com>
AuthorDate: Wed Dec 1 10:45:34 2021 +0100

    Another attempt
---
 .github/workflows/maven.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 6192cb5..13da741 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -45,12 +45,14 @@ jobs:
         id: cache
         uses: actions/cache@v2
         with:
-          path: ${{ env.REPO_USER }}/maven
+          path: maven
           key: maven-${{ matrix.os }}-${{ hashFiles('maven/status.txt') }}
 
       - name: Build maven distributions
         if: steps.cache.outputs.cache-hit != 'true'
-        run: ${{ env.REPO_USER }}/run-its.sh
+        run: |
+          mvn package -DskipTests -P versionlessMavenDist -f "maven/maven3"
+          mvn package -DskipTests -P versionlessMavenDist -f "maven/maven4"
 
       - name: Build with Maven
         run: mvn verify -e -B -V

Reply via email to