diff --git a/.github/workflows/cloud-build.yml b/.github/workflows/cloud-build.yml index 82750bfbb..b6440024b 100644 --- a/.github/workflows/cloud-build.yml +++ b/.github/workflows/cloud-build.yml @@ -48,12 +48,12 @@ jobs: - name: Build with Maven Java ${{ matrix.java }} ${{ matrix.profile }} run: | mvn -s ./.m2-settings.xml -fae ${{ matrix.profile }} clean install - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: failure() with: name: surefire-reports-${{ matrix.os }}-${{ matrix.java }} path: '${{ github.workspace }}/**/surefire-reports/*.*' - - 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/maven.yml b/.github/workflows/maven.yml index 9e1aa7953..16a2848cd 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -47,12 +47,12 @@ jobs: - name: Build with Maven Java ${{ matrix.java }} ${{ matrix.profile }} run: | mvn -s ./.m2-settings.xml -fae ${{ matrix.profile }} clean install - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: failure() with: name: surefire-reports-${{ matrix.os }}-${{ matrix.java }} path: '${{ github.workspace }}/**/surefire-reports/*.*' - - 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/wildfly-build.yml b/.github/workflows/wildfly-build.yml index df745b878..05e0046aa 100644 --- a/.github/workflows/wildfly-build.yml +++ b/.github/workflows/wildfly-build.yml @@ -39,13 +39,13 @@ jobs: run: | mvn -s ./.m2-settings.xml -B -V -fae -Pwildflydev clean install - name: Upload surefire reports - 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 server logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: server-logs-${{ matrix.os }}-${{ matrix.java }}