@@ -48,20 +48,13 @@ jobs:
48
48
timeout-minutes : 360
49
49
runs-on : ubuntu-latest
50
50
steps :
51
- - uses : actions/checkout@v3
51
+ - uses : actions/checkout@v4
52
52
- name : Set up JDK ${{ matrix.profile.jdk }}
53
- uses : actions/setup-java@v3
53
+ uses : actions/setup-java@v4
54
54
with :
55
55
java-version : ${{ matrix.profile.jdk }}
56
56
distribution : temurin
57
- - name : Cache local maven repository
58
- uses : actions/cache@v3
59
- with :
60
- path : |
61
- ~/.m2/repository/
62
- !~/.m2/repository/org/apache/zookeeper
63
- key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
64
- restore-keys : ${{ runner.os }}-m2
57
+ cache : ' maven'
65
58
- name : Show the first log message
66
59
run : git log -n1
67
60
- name : Install C Dependencies
@@ -74,21 +67,21 @@ jobs:
74
67
MAVEN_OPTS : -Djansi.force=true
75
68
- name : Upload unit test results
76
69
if : ${{ failure() }}
77
- uses : actions/upload-artifact@v3
70
+ uses : actions/upload-artifact@v4
78
71
with :
79
72
name : surefire-reports-${{ matrix.profile.name }}
80
73
path : ./**/target/surefire-reports/
81
74
if-no-files-found : ignore
82
75
- name : Upload integration test results
83
76
if : ${{ failure() }}
84
- uses : actions/upload-artifact@v3
77
+ uses : actions/upload-artifact@v4
85
78
with :
86
79
name : failsafe-reports-${{ matrix.profile.name }}
87
80
path : ./**/target/failsafe-reports/
88
81
if-no-files-found : ignore
89
82
- name : Upload cppunit test logs
90
83
if : ${{ failure() }}
91
- uses : actions/upload-artifact@v3
84
+ uses : actions/upload-artifact@v4
92
85
with :
93
86
name : cppunit-logs-${{ matrix.profile.name }}
94
87
path : ./zookeeper-client/zookeeper-client-c/target/c/TEST-*.txt
0 commit comments