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: with:
distribution: 'temurin' distribution: 'temurin'
java-version: '11' java-version: '11'
check-latest: true cache: 'maven'
- 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-
- name: Verify Gradle wrapper - name: Verify Gradle wrapper
uses: gradle/wrapper-validation-action@v1 uses: gradle/wrapper-validation-action@v1
@ -43,4 +33,4 @@ jobs:
run: chmod +x gradlew run: chmod +x gradlew
- name: Build with Gradle - name: Build with Gradle
run: ./gradlew check -PjdkVersion=11 run: ./gradlew check -PjdkVersion=11 --no-daemon