From 7e2d04fc68ef88a91716627fe8344b426a522870 Mon Sep 17 00:00:00 2001 From: Chris Bono Date: Thu, 23 Jan 2025 11:25:59 -0600 Subject: [PATCH] [CI] Update upload-artifact to v4 --- .github/workflows/apps-plugin-snapshot.yml | 2 +- .github/workflows/ci-it.yml | 2 +- .github/workflows/ci-pr.yml | 2 +- .github/workflows/common.yml | 10 +++++----- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/apps-plugin-snapshot.yml b/.github/workflows/apps-plugin-snapshot.yml index 48a4c944..aba50e3b 100644 --- a/.github/workflows/apps-plugin-snapshot.yml +++ b/.github/workflows/apps-plugin-snapshot.yml @@ -54,7 +54,7 @@ jobs: jfrog rt build-publish - name: Capture Test Results if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-results path: '**/target/surefire-reports/**/*.*' diff --git a/.github/workflows/ci-it.yml b/.github/workflows/ci-it.yml index ed9a55bd..fb04d25a 100644 --- a/.github/workflows/ci-it.yml +++ b/.github/workflows/ci-it.yml @@ -82,7 +82,7 @@ jobs: fail-on-empty: 'false' - name: 'Upload: Error logs' if: ${{ failure() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: 'modified-surefire-reports' path: '**/target/surefire-reports' diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index 70212f0a..c53a1bd2 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -70,7 +70,7 @@ jobs: $BUILD_DIR/scan-folders.sh table - name: 'Upload: Error logs' if: ${{ failure() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: 'modified-surefire-reports' path: '**/target/surefire-reports' diff --git a/.github/workflows/common.yml b/.github/workflows/common.yml index 240c2f57..8e0c7192 100644 --- a/.github/workflows/common.yml +++ b/.github/workflows/common.yml @@ -255,7 +255,7 @@ jobs: fail-on-empty: false - name: 'Upload: Test Reports' if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: 'core-surefire-reports' path: 'stream-applications/**/target/surefire-reports' @@ -373,7 +373,7 @@ jobs: fail-on-empty: false - name: 'Upload: Test Reports' if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: '${{ matrix.app }}-surefire-reports' path: '**/target/surefire-reports' @@ -471,7 +471,7 @@ jobs: run: ./build-app.sh . "applications/sink/${{ matrix.app }}" - name: 'Upload: Test Reports' if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: '${{ matrix.app }}-surefire-reports' path: '**/target/surefire-reports' @@ -610,7 +610,7 @@ jobs: fail-on-empty: false - name: 'Upload: Test Reports' if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: '${{ matrix.app }}-surefire-reports' path: '**/target/surefire-reports' @@ -764,7 +764,7 @@ jobs: fail-on-empty: false - name: 'Upload: Test Reports' if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: '${{ matrix.app }}-surefire-reports' path: '**/target/surefire-reports'