diff --git a/.github/workflows/ci-cpp.yaml b/.github/workflows/ci-cpp.yaml index 03b16034d101c8..85cc8966ca7231 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 e88d21c661ab8a..509fa3ac6eb6d0 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 7d01beb8597fc4..1c8e323fa7fcb4 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 53bbb65884decb..205e44dab66348 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 cfed07ad1a9838..13e16aa1894a27 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 87da507a7674c3..a3e46cb538f3a3 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 4e59ff40d4517b..db905dd857974d 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 ac325a55402ed3..f8eac1b83fda11 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 92e451aac4e07f..bc0b1b3cfa6af1 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 1dc6ca9c167528..c5bd21ffc1c5f4 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 69d15d52f9f1ec..87df27eff7e77d 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 391da625191133..fd7168fc01731c 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 a674dab33be3e2..11b66edc8d4a8d 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 2fe7056ae289f9..4952a40b1d965c 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 8da9f6ec8c6128..d06a9599cb6fad 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 833e004d23abba..10dc48f2b3a485 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 0a9232790ea75b..77028f2c76ebdd 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 }}