diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e96209e6ac3885..b5470776670ec0 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -98,7 +98,7 @@ jobs: - name: Run Build Without Error Logging run: scripts/run_in_build_env.sh "ninja -C ./out" - name: Uploading core files - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() && !env.ACT }} with: name: crash-core-linux-gcc-debug @@ -116,7 +116,7 @@ jobs: # If re-enabling, some subset of this should be picked # # - name: Uploading objdir for debugging - # uses: actions/upload-artifact@v3 + # uses: actions/upload-artifact@v4 # if: ${{ failure() && !env.ACT }} # with: # name: crash-objdir-linux-gcc-debug @@ -251,7 +251,7 @@ jobs: language: cpp - name: Uploading core files - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() && !env.ACT }} with: name: crash-core-linux @@ -264,7 +264,7 @@ jobs: # If re-enabling, some subset of this should be picked # # - name: Uploading objdir for debugging - # uses: actions/upload-artifact@v3 + # uses: actions/upload-artifact@v4 # if: ${{ failure() && !env.ACT }} # with: # name: crash-objdir-linux @@ -379,7 +379,7 @@ jobs: check \ " - name: Uploading diagnostic logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() && !env.ACT }} with: name: crash-log-darwin diff --git a/.github/workflows/cirque.yaml b/.github/workflows/cirque.yaml index 6d016dd0b0e794..c0dbfdd95370cf 100644 --- a/.github/workflows/cirque.yaml +++ b/.github/workflows/cirque.yaml @@ -123,7 +123,7 @@ jobs: - name: Uploading Binaries - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ always() && !env.ACT }} with: name: cirque_log-${{steps.outsuffix.outputs.value}}-logs diff --git a/.github/workflows/darwin-tests.yaml b/.github/workflows/darwin-tests.yaml index cedc306cbeaf45..b255f246f7a808 100644 --- a/.github/workflows/darwin-tests.yaml +++ b/.github/workflows/darwin-tests.yaml @@ -123,7 +123,7 @@ jobs: --ota-candidate-file /tmp/otaCandidateJSON \ " - name: Uploading core files - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() && !env.ACT }} with: name: crash-core-darwin-${{ matrix.build_variant }} @@ -131,19 +131,19 @@ jobs: # Cores are big; don't hold on to them too long. retention-days: 5 - name: Uploading diagnostic logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() && !env.ACT }} with: name: crash-log-darwin-${{ matrix.build_variant }} path: ~/Library/Logs/DiagnosticReports/ - name: Uploading framework build log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() && !env.ACT }} with: name: framework-build-log-darwin-${{ matrix.build_variant }} path: out/darwin-x64-darwin-framework-tool-${{ matrix.build_variant }}/darwin_framework_build.log - name: Uploading objdir for debugging - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() && !env.ACT }} with: name: crash-objdir-darwin-${{ matrix.build_variant }} diff --git a/.github/workflows/darwin.yaml b/.github/workflows/darwin.yaml index 99306feef42225..84b7ecc77e70f8 100644 --- a/.github/workflows/darwin.yaml +++ b/.github/workflows/darwin.yaml @@ -127,7 +127,7 @@ jobs: xcodebuild -target "MatterTvCastingBridge" -sdk iphoneos working-directory: examples/tv-casting-app/darwin/MatterTvCastingBridge - name: Uploading log files - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() && !env.ACT }} with: name: darwin-framework-test-logs diff --git a/.github/workflows/examples-nrfconnect.yaml b/.github/workflows/examples-nrfconnect.yaml index 18a8aa9836c3cf..31e136e5d7d72e 100644 --- a/.github/workflows/examples-nrfconnect.yaml +++ b/.github/workflows/examples-nrfconnect.yaml @@ -195,7 +195,7 @@ jobs: run: | scripts/run_in_build_env.sh "./scripts/build/build_examples.py --target nrf-native-posix-64-tests build" - name: Uploading Failed Test Logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() && !env.ACT }} with: name: test-log diff --git a/.github/workflows/fuzzing-build.yaml b/.github/workflows/fuzzing-build.yaml index 7e83a81209a32e..b6515fda6f8715 100644 --- a/.github/workflows/fuzzing-build.yaml +++ b/.github/workflows/fuzzing-build.yaml @@ -62,7 +62,7 @@ jobs: --copy-artifacts-to objdir-clone \ " - name: Uploading binaries - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ !env.ACT }} with: name: objdir-linux @@ -100,7 +100,7 @@ jobs: --copy-artifacts-to objdir-clone \ " - name: Uploading binaries - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ !env.ACT }} with: name: crash-darwin diff --git a/.github/workflows/java-tests.yaml b/.github/workflows/java-tests.yaml index 08b9c5d8cb9211..3715f74e5936f8 100644 --- a/.github/workflows/java-tests.yaml +++ b/.github/workflows/java-tests.yaml @@ -204,7 +204,7 @@ jobs: --factoryreset \ ' - name: Uploading core files - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() && !env.ACT }} with: name: crash-core-linux-java-controller @@ -212,7 +212,7 @@ jobs: # Cores are big; don't hold on to them too long. retention-days: 5 - name: Uploading objdir for debugging - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() && !env.ACT }} with: name: crash-objdir-linux-java-controller diff --git a/.github/workflows/qemu.yaml b/.github/workflows/qemu.yaml index 13badfcf8340b6..3620d4b12ec5e3 100644 --- a/.github/workflows/qemu.yaml +++ b/.github/workflows/qemu.yaml @@ -63,7 +63,7 @@ jobs: --verbose \ --file-image-list ./out/esp32-qemu-tests/test_images.txt - name: Uploading Logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ !env.ACT }} with: name: qemu-esp32-logs diff --git a/.github/workflows/recent_fail_summary.yaml b/.github/workflows/recent_fail_summary.yaml index 37080eee8005e7..c0f1d6704fb4e3 100644 --- a/.github/workflows/recent_fail_summary.yaml +++ b/.github/workflows/recent_fail_summary.yaml @@ -33,7 +33,7 @@ jobs: env: GH_TOKEN: ${{ github.token }} - name: Upload Logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: workflow-fail-summary path: | diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 08c5ded0fccb27..4a4e8b4fedc051 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -269,7 +269,7 @@ jobs: --bridge-app ./out/linux-x64-bridge-${BUILD_VARIANT}/chip-bridge-app \ " - name: Uploading core files - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() && !env.ACT }} with: name: crash-core-linux-${{ matrix.build_variant }}${{ matrix.chip_tool }} @@ -277,7 +277,7 @@ jobs: # Cores are big; don't hold on to them too long. retention-days: 5 - name: Uploading objdir for debugging - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() && !env.ACT }} with: name: crash-objdir-linux-${{ matrix.build_variant }}${{ matrix.chip_tool }} @@ -370,7 +370,7 @@ jobs: " - name: Uploading core files - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() && !env.ACT }} with: name: crash-core-darwin-${{ matrix.build_variant }}${{ matrix.chip_tool }} @@ -378,13 +378,13 @@ jobs: # Cores are big; don't hold on to them too long. retention-days: 5 - name: Uploading diagnostic logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() && !env.ACT }} with: name: crash-log-darwin-${{ matrix.build_variant }}${{ matrix.chip_tool }} path: ~/Library/Logs/DiagnosticReports/ - name: Uploading objdir for debugging - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() && !env.ACT }} with: name: crash-objdir-darwin-${{ matrix.build_variant }}${{ matrix.chip_tool }} @@ -473,7 +473,7 @@ jobs: scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-lock-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-lock-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script "src/python_testing/TC_DRLK_2_12.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS src/app/tests/suites/certification/ci-pics-values --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"' scripts/run_in_python_env.sh out/venv './scripts/tests/TestTimeSyncTrustedTimeSourceRunner.py' - name: Uploading core files - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() && !env.ACT }} with: name: crash-core-linux-python-repl @@ -481,7 +481,7 @@ jobs: # Cores are big; don't hold on to them too long. retention-days: 5 - name: Uploading objdir for debugging - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() && !env.ACT }} with: name: crash-objdir-linux-python-repl @@ -534,7 +534,7 @@ jobs: run: | scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/darwin-x64-all-clusters-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 3840 --interface-id -1" --script-args "-t 3600 --disable-test ClusterObjectTests.TestTimedRequestTimeout"' - name: Uploading core files - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() && !env.ACT }} with: name: crash-core-darwin-python-repl @@ -542,20 +542,20 @@ jobs: # Cores are big; don't hold on to them too long. retention-days: 5 - name: Uploading traces on failure - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() && !env.ACT }} with: name: trace-data-python-repl path: out/trace_data/ retention-days: 5 - name: Uploading diagnostic logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() && !env.ACT }} with: name: crash-log-darwin-python-repl path: ~/Library/Logs/DiagnosticReports/ - name: Uploading objdir for debugging - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() && !env.ACT }} with: name: crash-objdir-darwin-python-repl