Author: mariusvolkhart Date: Sun Feb 7 00:30:41 2021 New Revision: 1886266
URL: http://svn.apache.org/viewvc?rev=1886266&view=rev Log: Cache Gradle wrapper & caches during GitHub Actions Modified: poi/trunk/.github/workflows/test-gradle.yml Modified: poi/trunk/.github/workflows/test-gradle.yml URL: http://svn.apache.org/viewvc/poi/trunk/.github/workflows/test-gradle.yml?rev=1886266&r1=1886265&r2=1886266&view=diff ============================================================================== --- poi/trunk/.github/workflows/test-gradle.yml (original) +++ poi/trunk/.github/workflows/test-gradle.yml Sun Feb 7 00:30:41 2021 @@ -22,13 +22,15 @@ jobs: with: java-version: 1.8 - - name: Cache + - name: Cache Gradle wrapper and dependencies 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: | + ~/.gradle/caches + ~/.gradle/wrapper + key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} + restore-keys: | + ${{ runner.os }}-gradle- - name: Grant execute permission for gradlew run: chmod +x gradlew --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
