diff --git a/.github/workflows/reusable-windows-ci.yml b/.github/workflows/reusable-windows-ci.yml index f717eed05f8..38bd4bbb3a6 100644 --- a/.github/workflows/reusable-windows-ci.yml +++ b/.github/workflows/reusable-windows-ci.yml @@ -178,7 +178,7 @@ jobs: - name: Test Report uses: eProsima/eProsima-CI/external/test-reporter@main - if: (success() || failure()) && ${{ !contains(github.event.pull_request.labels.*.name, 'no-test') }} + if: ${{ (steps.test.conclusion == 'success' || steps.test.conclusion == 'failure') && !contains(github.event.pull_request.labels.*.name, 'no-test') }} with: name: "Report: ${{ matrix.cmake-config }} | ${{ matrix.vs-toolset }} " path: "${{ steps.test.outputs.ctest_results_path }}*.xml"