]> source.dussan.org Git - poi.git/commitdiff
small changes to github action
authorPJ Fanning <fanningpj@apache.org>
Sun, 17 Apr 2022 10:28:50 +0000 (10:28 +0000)
committerPJ Fanning <fanningpj@apache.org>
Sun, 17 Apr 2022 10:28:50 +0000 (10:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899938 13f79535-47bb-0310-9956-ffa450edef68

.github/workflows/test-gradle.yml

index b0c77cbffb9fdc43f4f5cdc020355936c2dada2e..d9f18b736776498740a99297ee4f290d2a1aedba 100644 (file)
@@ -15,24 +15,24 @@ jobs:
     runs-on: ubuntu-latest
 
     steps:
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
 
     - name: Set up JDK
-      uses: actions/setup-java@v2
+      uses: actions/setup-java@v3
       with:
         distribution: 'temurin'
         java-version: '11'
         check-latest: true
 
     - name: Cache Gradle wrapper and dependencies
-      uses: actions/cache@v2.1.3
+      uses: actions/cache@v3
       with:
         path: |
           ~/.gradle/caches
           ~/.gradle/wrapper
-        key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
+        key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
         restore-keys: |
-          ${{ runner.os }}-gradle-
+          ${{ runner.os }}-gradle-          
 
     - name: Verify Gradle wrapper
       uses: gradle/wrapper-validation-action@v1