]> source.dussan.org Git - poi.git/commitdiff
update github actions
authorPJ Fanning <fanningpj@apache.org>
Tue, 26 Apr 2022 12:14:54 +0000 (12:14 +0000)
committerPJ Fanning <fanningpj@apache.org>
Tue, 26 Apr 2022 12:14:54 +0000 (12:14 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900289 13f79535-47bb-0310-9956-ffa450edef68

.github/workflows/test-gradle.yml

index 0e226d182ecdef0319a69334f7e4850db87a9376..ce170275334909a60fedcd6a364d04d116321e42 100644 (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