diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bf5453cd..326fa123 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,19 +64,19 @@ jobs: - name: Build and Test on ${{ matrix.java }} - ${{ matrix.wildfly-version }} run: mvn clean install '-Dorg.jboss.logmanager.nocolor=true' - name: Upload surefire logs for failed run - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: surefire-reports-${{ matrix.os }}-${{ matrix.java }} path: '**/surefire-reports/' - name: Upload failsafe logs for failed run - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: failsafe-reports-${{ matrix.os }}-${{ matrix.java }} path: '**/failsafe-reports/' - name: Upload logs for failed run - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: server-logs-${{ matrix.os }}-${{ matrix.java }} diff --git a/.github/workflows/legacy-build.yml b/.github/workflows/legacy-build.yml index 81c3f41d..28f79f25 100644 --- a/.github/workflows/legacy-build.yml +++ b/.github/workflows/legacy-build.yml @@ -40,19 +40,19 @@ jobs: - name: Build and Test on ${{ matrix.java }} - ${{ matrix.wildfly-version }} run: mvn clean install '-Dorg.jboss.logmanager.nocolor=true' '-Dversion.org.wildfly=${{ matrix.wildfly-version }}' - name: Upload surefire logs for failed run - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: surefire-reports-${{ matrix.java }}-${{ matrix.wildfly-version }} path: '**/surefire-reports/' - name: Upload failsafe logs for failed run - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: failsafe-reports-${{ matrix.java }}-${{ matrix.wildfly-version }} path: '**/failsafe-reports/' - name: Upload logs for failed run - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: server-logs-${{ matrix.java }}-${{ matrix.wildfly-version }}