Skip to content

Commit 41a6d31

Browse files
committed
it was capturing the exit code of the tee command
1 parent 42d7475 commit 41a6d31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/clang_tidy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
run: |
3434
set +e
3535
cmake --build --preset clang_debug --target clang-tidy 2>&1 | tee clang_tidy_output.txt
36-
CLANG_TIDY_EXIT_CODE=$?
36+
CLANG_TIDY_EXIT_CODE=${PIPESTATUS[0]} # Capture CMake exit code, not tee
3737
set -e
3838
3939
if [ $CLANG_TIDY_EXIT_CODE -eq 0 ]; then

0 commit comments

Comments
 (0)