diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index 98c3490e8a..4ced6ab834 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -110,12 +110,16 @@ jobs: continue-on-error: true - name: Report ASan log - run: ls /tmp/asan.log* 1>/dev/null 2>&1 && (cat /tmp/asan.log*; exit 1) || exit 0 + run: | + if ls /tmp/asan.log* 1>/dev/null 2>&1; + then cat /tmp/asan.log*; + rm -rf /tmp/asan.log* + exit 1; + else + exit 0; + fi shell: bash - - name: Clean up ASan log - run: rm -rf /tmp/asan.log* - clang-build-test: name: clang build & test needs: [clang-formatting-check]