From 556712be3d19f98e281c49adfa408e14de94c2b2 Mon Sep 17 00:00:00 2001 From: Rafik Farhad Date: Sun, 12 Nov 2023 16:01:03 +0600 Subject: [PATCH] Handled non-zero return code --- .github/workflows/entrypoint-test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/entrypoint-test.yml b/.github/workflows/entrypoint-test.yml index 27b20ca..ec3d7ff 100644 --- a/.github/workflows/entrypoint-test.yml +++ b/.github/workflows/entrypoint-test.yml @@ -25,8 +25,7 @@ jobs: INPUT_EXCLUDES: 'examples/file2.c' INPUT_STYLE: "LLVM" run: | - ./entrypoint.sh > output - cat output + ./entrypoint.sh | tee > output || true grep -q "Checking file: ./examples/file1.c" output if [ $? -ne 0 ]; then echo "file1.c should be checked"