This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fluo-recipes.git


The following commit(s) were added to refs/heads/main by this push:
     new 142ef36  Trivial GitHub Actions updates
142ef36 is described below

commit 142ef365fb0a69715acef05a30c6f3397763e8f4
Author: Christopher Tubbs <[email protected]>
AuthorDate: Thu Oct 3 17:19:41 2024 -0400

    Trivial GitHub Actions updates
---
 .github/workflows/maven.yaml | 18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

diff --git a/.github/workflows/maven.yaml b/.github/workflows/maven.yaml
index dc8ff37..c0e559e 100644
--- a/.github/workflows/maven.yaml
+++ b/.github/workflows/maven.yaml
@@ -34,33 +34,27 @@ jobs:
     timeout-minutes: 60
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v4
     - name: Set up JDK 11
-      uses: actions/setup-java@v1
+      uses: actions/setup-java@v4
       with:
+        distribution: adopt
         java-version: 11
-    - name: Cache local maven repository
-      uses: actions/cache@v2
-      with:
-        path: |
-          ~/.m2/repository/
-          !~/.m2/repository/org/apache/fluo
-        key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
-        restore-keys: ${{ runner.os }}-m2
+        cache: 'maven'
     - name: Build with Maven
       run: mvn -B -V -e -ntp "-Dstyle.color=always" verify javadoc:jar
       env:
         MAVEN_OPTS: -Djansi.force=true
     - name: Upload unit test results
       if: ${{ failure() }}
-      uses: actions/upload-artifact@v2
+      uses: actions/upload-artifact@v4
       with:
         name: surefire-reports
         path: ./**/target/surefire-reports/
         if-no-files-found: ignore
     - name: Upload integration test results
       if: ${{ failure() }}
-      uses: actions/upload-artifact@v2
+      uses: actions/upload-artifact@v4
       with:
         name: failsafe-reports
         path: ./**/target/failsafe-reports/

Reply via email to