From 37a7c396a9be10b252dad8f965786aa237a830b4 Mon Sep 17 00:00:00 2001 From: nikhil-ctds Date: Thu, 12 Sep 2024 16:58:14 +0530 Subject: [PATCH] Update actions/upload-artifact to v4 --- .github/workflows/ci-cpp.yaml | 2 +- .github/workflows/ci-integration-backwards-compatibility.yaml | 4 ++-- .github/workflows/ci-integration-cli.yaml | 4 ++-- .github/workflows/ci-integration-function.yaml | 4 ++-- .github/workflows/ci-integration-messaging.yaml | 4 ++-- .github/workflows/ci-integration-process.yaml | 4 ++-- .github/workflows/ci-integration-pulsar-io-ora.yaml | 4 ++-- .github/workflows/ci-integration-pulsar-io.yaml | 4 ++-- .github/workflows/ci-integration-schema.yaml | 4 ++-- .github/workflows/ci-integration-sql.yaml | 4 ++-- .github/workflows/ci-integration-standalone.yaml | 4 ++-- .github/workflows/ci-integration-thread.yaml | 4 ++-- .github/workflows/ci-integration-tiered-filesystem.yaml | 4 ++-- .github/workflows/ci-integration-tiered-jcloud.yaml | 4 ++-- .github/workflows/ci-integration-transaction.yaml | 4 ++-- .github/workflows/ci-owasp-dep-check.yaml | 2 +- .github/workflows/ci-owasp-dependency-check.yaml | 2 +- 17 files changed, 31 insertions(+), 31 deletions(-) diff --git a/.github/workflows/ci-cpp.yaml b/.github/workflows/ci-cpp.yaml index 03b16034d101c..85cc8966ca723 100644 --- a/.github/workflows/ci-cpp.yaml +++ b/.github/workflows/ci-cpp.yaml @@ -95,7 +95,7 @@ jobs: run: pulsar-client-cpp/docker-tests.sh - name: Upload test-logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: failure() continue-on-error: true with: diff --git a/.github/workflows/ci-integration-backwards-compatibility.yaml b/.github/workflows/ci-integration-backwards-compatibility.yaml index e88d21c661ab8..509fa3ac6eb6d 100644 --- a/.github/workflows/ci-integration-backwards-compatibility.yaml +++ b/.github/workflows/ci-integration-backwards-compatibility.yaml @@ -103,7 +103,7 @@ jobs: run: ./build/run_integration_group.sh BACKWARDS_COMPAT - name: Upload container logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: @@ -111,7 +111,7 @@ jobs: path: tests/integration/target/container-logs - name: Upload surefire-reports - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: diff --git a/.github/workflows/ci-integration-cli.yaml b/.github/workflows/ci-integration-cli.yaml index 7d01beb8597fc..1c8e323fa7fcb 100644 --- a/.github/workflows/ci-integration-cli.yaml +++ b/.github/workflows/ci-integration-cli.yaml @@ -103,7 +103,7 @@ jobs: run: ./build/run_integration_group.sh CLI - name: Upload container logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: @@ -111,7 +111,7 @@ jobs: path: tests/integration/target/container-logs - name: Upload surefire-reports - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: diff --git a/.github/workflows/ci-integration-function.yaml b/.github/workflows/ci-integration-function.yaml index 53bbb65884dec..205e44dab6634 100644 --- a/.github/workflows/ci-integration-function.yaml +++ b/.github/workflows/ci-integration-function.yaml @@ -103,7 +103,7 @@ jobs: run: ./build/run_integration_group.sh FUNCTION - name: Upload container logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: @@ -111,7 +111,7 @@ jobs: path: tests/integration/target/container-logs - name: Upload surefire-reports - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: diff --git a/.github/workflows/ci-integration-messaging.yaml b/.github/workflows/ci-integration-messaging.yaml index cfed07ad1a983..13e16aa1894a2 100644 --- a/.github/workflows/ci-integration-messaging.yaml +++ b/.github/workflows/ci-integration-messaging.yaml @@ -103,7 +103,7 @@ jobs: run: ./build/run_integration_group.sh MESSAGING - name: Upload container logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: @@ -111,7 +111,7 @@ jobs: path: tests/integration/target/container-logs - name: Upload surefire-reports - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: diff --git a/.github/workflows/ci-integration-process.yaml b/.github/workflows/ci-integration-process.yaml index 87da507a7674c..a3e46cb538f3a 100644 --- a/.github/workflows/ci-integration-process.yaml +++ b/.github/workflows/ci-integration-process.yaml @@ -107,7 +107,7 @@ jobs: run: sudo dmesg - name: Upload container logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: @@ -115,7 +115,7 @@ jobs: path: tests/integration/target/container-logs - name: Upload surefire-reports - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: diff --git a/.github/workflows/ci-integration-pulsar-io-ora.yaml b/.github/workflows/ci-integration-pulsar-io-ora.yaml index 4e59ff40d4517..db905dd857974 100644 --- a/.github/workflows/ci-integration-pulsar-io-ora.yaml +++ b/.github/workflows/ci-integration-pulsar-io-ora.yaml @@ -104,7 +104,7 @@ jobs: run: ./build/run_integration_group.sh PULSAR_IO_ORA - name: Upload container logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: @@ -112,7 +112,7 @@ jobs: path: tests/integration/target/container-logs - name: Upload surefire-reports - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: diff --git a/.github/workflows/ci-integration-pulsar-io.yaml b/.github/workflows/ci-integration-pulsar-io.yaml index ac325a55402ed..f8eac1b83fda1 100644 --- a/.github/workflows/ci-integration-pulsar-io.yaml +++ b/.github/workflows/ci-integration-pulsar-io.yaml @@ -104,7 +104,7 @@ jobs: run: ./build/run_integration_group.sh PULSAR_IO - name: Upload container logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: @@ -112,7 +112,7 @@ jobs: path: tests/integration/target/container-logs - name: Upload surefire-reports - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: diff --git a/.github/workflows/ci-integration-schema.yaml b/.github/workflows/ci-integration-schema.yaml index 92e451aac4e07..bc0b1b3cfa6af 100644 --- a/.github/workflows/ci-integration-schema.yaml +++ b/.github/workflows/ci-integration-schema.yaml @@ -99,7 +99,7 @@ jobs: run: ./build/run_integration_group.sh SCHEMA - name: Upload container logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: @@ -107,7 +107,7 @@ jobs: path: tests/integration/target/container-logs - name: Upload surefire-reports - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: diff --git a/.github/workflows/ci-integration-sql.yaml b/.github/workflows/ci-integration-sql.yaml index 1dc6ca9c16752..c5bd21ffc1c5f 100644 --- a/.github/workflows/ci-integration-sql.yaml +++ b/.github/workflows/ci-integration-sql.yaml @@ -108,7 +108,7 @@ jobs: run: sudo dmesg - name: Upload container logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: @@ -116,7 +116,7 @@ jobs: path: tests/integration/target/container-logs - name: Upload surefire-reports - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: diff --git a/.github/workflows/ci-integration-standalone.yaml b/.github/workflows/ci-integration-standalone.yaml index 69d15d52f9f1e..87df27eff7e77 100644 --- a/.github/workflows/ci-integration-standalone.yaml +++ b/.github/workflows/ci-integration-standalone.yaml @@ -102,7 +102,7 @@ jobs: run: ./build/run_integration_group.sh STANDALONE - name: Upload container logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: @@ -110,7 +110,7 @@ jobs: path: tests/integration/target/container-logs - name: Upload surefire-reports - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: diff --git a/.github/workflows/ci-integration-thread.yaml b/.github/workflows/ci-integration-thread.yaml index 391da62519113..fd7168fc01731 100644 --- a/.github/workflows/ci-integration-thread.yaml +++ b/.github/workflows/ci-integration-thread.yaml @@ -102,7 +102,7 @@ jobs: run: ./build/run_integration_group.sh PULSAR_CONNECTORS_THREAD - name: Upload container logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: @@ -110,7 +110,7 @@ jobs: path: tests/integration/target/container-logs - name: Upload surefire-reports - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: diff --git a/.github/workflows/ci-integration-tiered-filesystem.yaml b/.github/workflows/ci-integration-tiered-filesystem.yaml index a674dab33be3e..11b66edc8d4a8 100644 --- a/.github/workflows/ci-integration-tiered-filesystem.yaml +++ b/.github/workflows/ci-integration-tiered-filesystem.yaml @@ -102,7 +102,7 @@ jobs: run: ./build/run_integration_group.sh TIERED_FILESYSTEM - name: Upload container logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: @@ -110,7 +110,7 @@ jobs: path: tests/integration/target/container-logs - name: Upload surefire-reports - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: diff --git a/.github/workflows/ci-integration-tiered-jcloud.yaml b/.github/workflows/ci-integration-tiered-jcloud.yaml index 2fe7056ae289f..4952a40b1d965 100644 --- a/.github/workflows/ci-integration-tiered-jcloud.yaml +++ b/.github/workflows/ci-integration-tiered-jcloud.yaml @@ -102,7 +102,7 @@ jobs: run: ./build/run_integration_group.sh TIERED_JCLOUD - name: Upload container logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: @@ -110,7 +110,7 @@ jobs: path: tests/integration/target/container-logs - name: Upload surefire-reports - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: diff --git a/.github/workflows/ci-integration-transaction.yaml b/.github/workflows/ci-integration-transaction.yaml index 8da9f6ec8c612..d06a9599cb6fa 100644 --- a/.github/workflows/ci-integration-transaction.yaml +++ b/.github/workflows/ci-integration-transaction.yaml @@ -99,7 +99,7 @@ jobs: run: ./build/run_integration_group.sh TRANSACTION - name: Upload container logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: @@ -107,7 +107,7 @@ jobs: path: tests/integration/target/container-logs - name: Upload surefire-reports - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: diff --git a/.github/workflows/ci-owasp-dep-check.yaml b/.github/workflows/ci-owasp-dep-check.yaml index 833e004d23abb..10dc48f2b3a48 100644 --- a/.github/workflows/ci-owasp-dep-check.yaml +++ b/.github/workflows/ci-owasp-dep-check.yaml @@ -87,7 +87,7 @@ jobs: run: mvn -q -B -ntp clean install verify -PskipDocker,owasp-dependency-check -DskipTests -pl '!pulsar-sql,!distribution/io,!distribution/offloaders,!tiered-storage/file-system,!pulsar-io/flume,!pulsar-io/hbase,!pulsar-io/hdfs2,!pulsar-io/hdfs3,!pulsar-io/docs' - name: Upload report - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ cancelled() || failure() }} continue-on-error: true with: diff --git a/.github/workflows/ci-owasp-dependency-check.yaml b/.github/workflows/ci-owasp-dependency-check.yaml index 0a9232790ea75..77028f2c76ebd 100644 --- a/.github/workflows/ci-owasp-dependency-check.yaml +++ b/.github/workflows/ci-owasp-dependency-check.yaml @@ -79,7 +79,7 @@ jobs: run: mvn -B -ntp -Pmain,skip-all,skipDocker,owasp-dependency-check initialize verify -pl distribution/offloaders,distribution/io,pulsar-sql/presto-distribution - name: Upload OWASP Dependency Check reports - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: always() with: name: owasp-dependency-check-reports-${{ matrix.checkout_branch }}