update github actions

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900289 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2022-04-26 12:14:54 +00:00
parent 266f3b8a61
commit 5488f87674
1 changed files with 2 additions and 12 deletions

View File

@ -24,17 +24,7 @@ jobs:
with:
distribution: 'temurin'
java-version: '11'
check-latest: true
- name: Cache Gradle wrapper and dependencies
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
cache: 'maven'
- name: Verify Gradle wrapper
uses: gradle/wrapper-validation-action@v1
@ -43,4 +33,4 @@ jobs:
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew check -PjdkVersion=11
run: ./gradlew check -PjdkVersion=11 --no-daemon