From cc816ee2906a25347f24aa5fbb76c7ca9f92299b Mon Sep 17 00:00:00 2001 From: Julien Esseiva Date: Wed, 4 Dec 2024 15:55:11 -0800 Subject: [PATCH] try again --- .github/workflows/build-spack.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-spack.yml b/.github/workflows/build-spack.yml index c90cd745f3..ca332fda71 100644 --- a/.github/workflows/build-spack.yml +++ b/.github/workflows/build-spack.yml @@ -150,7 +150,9 @@ jobs: echo "First PR commit: $FIRST_PR_HASH" ALL_FILES=$(git diff --name-only --diff-filter=ACM "$FIRST_PR_HASH^" HEAD^2) echo "All files: $ALL_FILES" - CC_FILES=$(set +e; grep -E '^(src|app|example)/.*\.cc$' - <<< "$ALL_FILES") + set +e + CC_FILES=$(grep -E '^(src|app|example)/.*\.cc$' - <<< "$ALL_FILES") + set -e echo "Files to check: $CC_FILES" if [ -z "$FILES" ]; then echo "No files to run clang-tidy on."