with:
java-version: 1.8
- - name: Cache
+ - name: Cache Gradle wrapper and dependencies
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: |
+ ~/.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