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/[email protected] 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: [email protected] For additional commands, e-mail: [email protected]
