|
@@ -48,20 +48,13 @@ jobs:
|
|
|
timeout-minutes: 360
|
|
|
runs-on: ubuntu-latest
|
|
|
steps:
|
|
|
- - uses: actions/checkout@v3
|
|
|
+ - uses: actions/checkout@v4
|
|
|
- name: Set up JDK ${{ matrix.profile.jdk }}
|
|
|
- uses: actions/setup-java@v3
|
|
|
+ uses: actions/setup-java@v4
|
|
|
with:
|
|
|
java-version: ${{ matrix.profile.jdk }}
|
|
|
distribution: temurin
|
|
|
- - name: Cache local maven repository
|
|
|
- uses: actions/cache@v3
|
|
|
- with:
|
|
|
- path: |
|
|
|
- ~/.m2/repository/
|
|
|
- !~/.m2/repository/org/apache/zookeeper
|
|
|
- key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
|
|
|
- restore-keys: ${{ runner.os }}-m2
|
|
|
+ cache: 'maven'
|
|
|
- name: Show the first log message
|
|
|
run: git log -n1
|
|
|
- name: Install C Dependencies
|
|
@@ -74,21 +67,21 @@ jobs:
|
|
|
MAVEN_OPTS: -Djansi.force=true
|
|
|
- name: Upload unit test results
|
|
|
if: ${{ failure() }}
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
+ uses: actions/upload-artifact@v4
|
|
|
with:
|
|
|
name: surefire-reports-${{ matrix.profile.name }}
|
|
|
path: ./**/target/surefire-reports/
|
|
|
if-no-files-found: ignore
|
|
|
- name: Upload integration test results
|
|
|
if: ${{ failure() }}
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
+ uses: actions/upload-artifact@v4
|
|
|
with:
|
|
|
name: failsafe-reports-${{ matrix.profile.name }}
|
|
|
path: ./**/target/failsafe-reports/
|
|
|
if-no-files-found: ignore
|
|
|
- name: Upload cppunit test logs
|
|
|
if: ${{ failure() }}
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
+ uses: actions/upload-artifact@v4
|
|
|
with:
|
|
|
name: cppunit-logs-${{ matrix.profile.name }}
|
|
|
path: ./zookeeper-client/zookeeper-client-c/target/c/TEST-*.txt
|