You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ma...@apache.org on 2021/02/06 15:23:11 UTC

svn commit: r1886257 - /poi/trunk/.github/workflows/test-maven.yml

Author: mariusvolkhart
Date: Sat Feb  6 15:23:11 2021
New Revision: 1886257

URL: http://svn.apache.org/viewvc?rev=1886257&view=rev
Log:
Cache Maven repo during GitHub Actions

Modified:
    poi/trunk/.github/workflows/test-maven.yml

Modified: poi/trunk/.github/workflows/test-maven.yml
URL: http://svn.apache.org/viewvc/poi/trunk/.github/workflows/test-maven.yml?rev=1886257&r1=1886256&r2=1886257&view=diff
==============================================================================
--- poi/trunk/.github/workflows/test-maven.yml (original)
+++ poi/trunk/.github/workflows/test-maven.yml Sat Feb  6 15:23:11 2021
@@ -25,10 +25,10 @@ jobs:
     - name: Cache
       uses: actions/cache@v2.1.3
       with:
-        # A list of files, directories, and wildcard patterns to cache and restore
-        path: lib
-        # An explicit key for restoring and saving the cache
-        key: poi-third-party-libs
+        path: ~/.m2/repository
+        key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
+        restore-keys: |
+          ${{ runner.os }}-maven-
 
     - name: Build with Maven
       run: (cd sonar && mvn -B validate package --file pom.xml)



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org