diff --git a/.github/workflows/android.yaml b/.github/workflows/android.yaml index 2fbc0d57913c3f..b001733aee104e 100644 --- a/.github/workflows/android.yaml +++ b/.github/workflows/android.yaml @@ -48,7 +48,7 @@ jobs: run: scripts/build/gn_bootstrap.sh - name: Uploading bootstrap logs uses: actions/upload-artifact@v2 - if: ${{ always() }} + if: ${{ always() }} && ${{ !env.ACT }} with: name: bootstrap-logs path: | diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1e32b20861fdc9..2ecfa69bb3752b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -58,7 +58,7 @@ jobs: run: scripts/build/gn_bootstrap.sh - name: Uploading bootstrap logs uses: actions/upload-artifact@v2 - if: ${{ always() }} + if: ${{ always() }} && ${{ !env.ACT }} with: name: bootstrap-logs path: | @@ -129,7 +129,7 @@ jobs: run: scripts/build/gn_bootstrap.sh - name: Uploading bootstrap logs uses: actions/upload-artifact@v2 - if: ${{ always() }} + if: ${{ always() }} && ${{ !env.ACT }} with: name: bootstrap-logs path: | @@ -270,7 +270,7 @@ jobs: run: scripts/build/gn_bootstrap.sh - name: Uploading bootstrap logs uses: actions/upload-artifact@v2 - if: ${{ always() }} + if: ${{ always() }} && ${{ !env.ACT }} with: name: bootstrap-logs path: | diff --git a/.github/workflows/cirque.yaml b/.github/workflows/cirque.yaml index 1a229025285af8..942a1ecf5fad20 100644 --- a/.github/workflows/cirque.yaml +++ b/.github/workflows/cirque.yaml @@ -115,8 +115,8 @@ jobs: --volume /dev/pts:/dev/pts \ -- scripts/tests/cirque_tests.sh run_all_tests - name: Uploading Binaries - uses: actions/upload-artifact@v1 - if: ${{ always() }} + uses: actions/upload-artifact@v2 + if: ${{ always() }} && ${{ !env.ACT }} with: name: cirque_log-${{steps.outsuffix.outputs.value}}-logs diff --git a/.github/workflows/darwin.yaml b/.github/workflows/darwin.yaml index 417329feac3810..30ea69ed97f71f 100644 --- a/.github/workflows/darwin.yaml +++ b/.github/workflows/darwin.yaml @@ -51,7 +51,7 @@ jobs: run: scripts/build/gn_bootstrap.sh - name: Uploading bootstrap logs uses: actions/upload-artifact@v2 - if: ${{ always() }} + if: ${{ always() }} && ${{ !env.ACT }} with: name: bootstrap-logs path: | diff --git a/.github/workflows/examples-efr32.yaml b/.github/workflows/examples-efr32.yaml index d98671cf85e350..bf9ff7b81ba60e 100644 --- a/.github/workflows/examples-efr32.yaml +++ b/.github/workflows/examples-efr32.yaml @@ -52,7 +52,7 @@ jobs: run: scripts/build/gn_bootstrap.sh - name: Uploading bootstrap logs uses: actions/upload-artifact@v2 - if: ${{ always() }} + if: ${{ always() }} && ${{ !env.ACT }} with: name: bootstrap-logs path: | @@ -92,6 +92,7 @@ jobs: if_false: "pull-${{ github.event.pull_request.number }}" - name: Uploading Binaries uses: actions/upload-artifact@v2 + if: ${{ !env.ACT }} with: name: ${{ env.BUILD_TYPE }}-example-build-${{ diff --git a/.github/workflows/examples-esp32.yaml b/.github/workflows/examples-esp32.yaml index 2832aa54363c15..14f85a034e8dda 100644 --- a/.github/workflows/examples-esp32.yaml +++ b/.github/workflows/examples-esp32.yaml @@ -53,7 +53,7 @@ jobs: run: scripts/build/gn_bootstrap.sh - name: Uploading bootstrap logs uses: actions/upload-artifact@v2 - if: ${{ always() }} + if: ${{ always() }} && ${{ !env.ACT }} with: name: bootstrap-logs path: | @@ -115,7 +115,8 @@ jobs: run: | cp -r example_binaries/$BUILD_TYPE-build /tmp/output_binaries/ - name: Uploading Binaries - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v2 + if: ${{ !env.ACT }} with: name: ${{ env.BUILD_TYPE }}-example-build-${{ diff --git a/.github/workflows/examples-infineon.yaml b/.github/workflows/examples-infineon.yaml index 033cd8ee7a0311..aa017444083660 100644 --- a/.github/workflows/examples-infineon.yaml +++ b/.github/workflows/examples-infineon.yaml @@ -49,7 +49,7 @@ jobs: run: scripts/build/gn_bootstrap.sh - name: Uploading bootstrap logs uses: actions/upload-artifact@v2 - if: ${{ always() }} + if: ${{ always() }} && ${{ !env.ACT }} with: name: bootstrap-logs path: | diff --git a/.github/workflows/examples-k32w.yaml b/.github/workflows/examples-k32w.yaml index 6e337556fb9947..ba097d2471a26c 100644 --- a/.github/workflows/examples-k32w.yaml +++ b/.github/workflows/examples-k32w.yaml @@ -51,7 +51,7 @@ jobs: run: scripts/build/gn_bootstrap.sh - name: Uploading bootstrap logs uses: actions/upload-artifact@v2 - if: ${{ always() }} + if: ${{ always() }} && ${{ !env.ACT }} with: name: bootstrap-logs path: | @@ -90,6 +90,7 @@ jobs: if_false: "pull-${{ github.event.pull_request.number }}" - name: Uploading Binaries uses: actions/upload-artifact@v2 + if: ${{ !env.ACT }} with: name: ${{ env.BUILD_TYPE }}-example-build-${{ diff --git a/.github/workflows/examples-linux-standalone.yaml b/.github/workflows/examples-linux-standalone.yaml index 1f77a89bbfd807..96c655b80008c8 100644 --- a/.github/workflows/examples-linux-standalone.yaml +++ b/.github/workflows/examples-linux-standalone.yaml @@ -52,7 +52,7 @@ jobs: run: scripts/build/gn_bootstrap.sh - name: Uploading bootstrap logs uses: actions/upload-artifact@v2 - if: ${{ always() }} + if: ${{ always() }} && ${{ !env.ACT }} with: name: bootstrap-logs path: | @@ -125,6 +125,7 @@ jobs: if_false: "pull-${{ github.event.pull_request.number }}" - name: Uploading Binaries uses: actions/upload-artifact@v2 + if: ${{ !env.ACT }} with: name: ${{ env.BUILD_TYPE }}-example-build-${{ diff --git a/.github/workflows/examples-mbed.yaml b/.github/workflows/examples-mbed.yaml index 6df9897a110d99..5fb71e374a3244 100644 --- a/.github/workflows/examples-mbed.yaml +++ b/.github/workflows/examples-mbed.yaml @@ -57,7 +57,7 @@ jobs: - name: Uploading bootstrap logs uses: actions/upload-artifact@v2 - if: ${{ always() }} + if: ${{ always() }} && ${{ !env.ACT }} with: name: bootstrap-logs path: | @@ -99,7 +99,8 @@ jobs: if_false: "pull-${{ github.event.pull_request.number }}" - name: Uploading binaries as artifacts - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v2 + if: ${{ !env.ACT }} with: name: ${{ env.BUILD_TYPE }}-binaries-${{env.APP_TARGET}}-${{ env.APP_PROFILE}}-build-${{ diff --git a/.github/workflows/examples-nrfconnect.yaml b/.github/workflows/examples-nrfconnect.yaml index 16bb09a5ee7e9b..c0b2d86c8965fd 100644 --- a/.github/workflows/examples-nrfconnect.yaml +++ b/.github/workflows/examples-nrfconnect.yaml @@ -52,7 +52,7 @@ jobs: run: scripts/build/gn_bootstrap.sh - name: Uploading bootstrap logs uses: actions/upload-artifact@v2 - if: ${{ always() }} + if: ${{ always() }} && ${{ !env.ACT }} with: name: bootstrap-logs path: | @@ -155,12 +155,14 @@ jobs: - name: Binary artifact suffix id: outsuffix uses: haya14busa/action-cond@v1.0.0 + if: ${{ !env.ACT }} with: cond: ${{ github.event.pull_request.number == '' }} if_true: "${{ github.sha }}" if_false: "pull-${{ github.event.pull_request.number }}" - name: Uploading Binaries - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v2 + if: ${{ !env.ACT }} with: name: ${{ env.BUILD_TYPE }}-example-build-${{ diff --git a/.github/workflows/examples-qpg.yaml b/.github/workflows/examples-qpg.yaml index 94e71a2df49d15..799f2f8bfb3247 100644 --- a/.github/workflows/examples-qpg.yaml +++ b/.github/workflows/examples-qpg.yaml @@ -51,7 +51,7 @@ jobs: run: scripts/build/gn_bootstrap.sh - name: Uploading bootstrap logs uses: actions/upload-artifact@v2 - if: ${{ always() }} + if: ${{ always() }} && ${{ !env.ACT }} with: name: bootstrap-logs path: | @@ -91,6 +91,7 @@ jobs: if_false: "pull-${{ github.event.pull_request.number }}" - name: Uploading Binaries uses: actions/upload-artifact@v2 + if: ${{ !env.ACT }} with: name: ${{ env.BUILD_TYPE }}-example-build-${{ diff --git a/.github/workflows/qemu.yaml b/.github/workflows/qemu.yaml index d67075c53499e7..9655f2685087e8 100644 --- a/.github/workflows/qemu.yaml +++ b/.github/workflows/qemu.yaml @@ -48,7 +48,7 @@ jobs: run: scripts/build/gn_bootstrap.sh - name: Uploading bootstrap logs uses: actions/upload-artifact@v2 - if: ${{ always() }} + if: ${{ always() }} && ${{ !env.ACT }} with: name: bootstrap-logs path: | @@ -61,7 +61,8 @@ jobs: timeout-minutes: 35 run: scripts/tests/esp32_qemu_tests.sh /tmp/test_logs - name: Uploading Logs - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v2 + if: ${{ !env.ACT }} with: name: qemu-esp32-logs path: /tmp/log_output diff --git a/.github/workflows/release_artifacts.yaml b/.github/workflows/release_artifacts.yaml index 1030022099917d..747c578d7f384b 100644 --- a/.github/workflows/release_artifacts.yaml +++ b/.github/workflows/release_artifacts.yaml @@ -42,7 +42,7 @@ jobs: run: scripts/build/gn_bootstrap.sh - name: Uploading bootstrap logs uses: actions/upload-artifact@v2 - if: ${{ always() }} + if: ${{ always() }} && ${{ !env.ACT }} with: name: bootstrap-logs path: | @@ -82,7 +82,7 @@ jobs: run: scripts/build/gn_bootstrap.sh - name: Uploading bootstrap logs uses: actions/upload-artifact@v2 - if: ${{ always() }} + if: ${{ always() }} && ${{ !env.ACT }} with: name: bootstrap-logs path: | diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index a588da906050c8..ddcd833fff6299 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -60,7 +60,7 @@ jobs: run: scripts/build/gn_bootstrap.sh - name: Uploading bootstrap logs uses: actions/upload-artifact@v2 - if: ${{ always() }} + if: ${{ always() }} && ${{ !env.ACT }} with: name: bootstrap-logs-linux-${{ matrix.type }}-${{ matrix.eventloop }} path: | @@ -94,7 +94,7 @@ jobs: scripts/tests/test_suites.sh -a tv - name: Uploading core files uses: actions/upload-artifact@v2 - if: ${{ failure() }} + if: ${{ failure() }} && ${{ !env.ACT }} with: name: crash-core-linux-${{ matrix.type }}-${{ matrix.eventloop }} path: /tmp/cores/ @@ -102,7 +102,7 @@ jobs: retention-days: 5 - name: Uploading objdir for debugging uses: actions/upload-artifact@v2 - if: ${{ failure() }} + if: ${{ failure() }} && ${{ !env.ACT }} with: name: crash-objdir-linux-${{ matrix.type }}-${{ matrix.eventloop }} path: objdir-clone/ @@ -149,7 +149,7 @@ jobs: run: scripts/build/gn_bootstrap.sh - name: Uploading bootstrap logs uses: actions/upload-artifact@v2 - if: ${{ always() }} + if: ${{ always() }} && ${{ !env.ACT }} with: name: bootstrap-logs-darwin-${{ matrix.type }}-${{ matrix.eventloop }} path: | @@ -175,7 +175,7 @@ jobs: scripts/tests/test_suites.sh - name: Uploading core files uses: actions/upload-artifact@v2 - if: ${{ failure() }} + if: ${{ failure() }} && ${{ !env.ACT }} with: name: crash-core-darwin-${{ matrix.type }}-${{ matrix.eventloop }} path: /cores/ @@ -183,13 +183,13 @@ jobs: retention-days: 5 - name: Uploading diagnostic logs uses: actions/upload-artifact@v2 - if: ${{ failure() }} + if: ${{ failure() }} && ${{ !env.ACT }} with: name: crash-log-darwin-${{ matrix.type }}-${{ matrix.eventloop }} path: ~/Library/Logs/DiagnosticReports/ - name: Uploading objdir for debugging uses: actions/upload-artifact@v2 - if: ${{ failure() }} + if: ${{ failure() }} && ${{ !env.ACT }} with: name: crash-objdir-darwin-${{ matrix.type }}-${{ matrix.eventloop }} path: objdir-clone/ diff --git a/.github/workflows/unit_integration_test.yaml b/.github/workflows/unit_integration_test.yaml index 14adee6374a317..268b19412646ad 100644 --- a/.github/workflows/unit_integration_test.yaml +++ b/.github/workflows/unit_integration_test.yaml @@ -60,7 +60,7 @@ jobs: scripts/build/gn_bootstrap.sh ; - name: Uploading bootstrap logs uses: actions/upload-artifact@v2 - if: ${{ always() }} + if: ${{ always() }} && ${{ !env.ACT }} with: name: bootstrap-logs path: | @@ -90,8 +90,8 @@ jobs: timeout-minutes: 5 run: RUN_HAPPY_TESTS=1 scripts/tests/gn_tests.sh - name: Uploading Happy Test Log - uses: actions/upload-artifact@v1 - if: ${{ always() }} + uses: actions/upload-artifact@v2 + if: ${{ always() }} && ${{ !env.ACT }} with: name: happy_log-${{ steps.outsuffix.outputs.value }}-${{ matrix.type }}