Skip to content

Commit 1f2c8dd

Browse files
committed
Add more debug statemetns.
1 parent 9443963 commit 1f2c8dd

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/check-build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,14 @@ jobs:
126126
# Get the relative path from project root
127127
module_path=${module_dir#./}
128128
129-
echo "DEBUG: module_dir=$module_dir, module_name=$module_name, module_path=$module_path"
130-
echo "DEBUG: Checking for ' $module_path/' in ' $CHANGED_FILES '"
129+
# Debug: show what we're actually checking
130+
echo "DEBUG: Looking for changes in module: $module_path"
131+
echo "DEBUG: Changed files contain pom.xml: $(echo "$CHANGED_FILES" | grep -q "pom.xml" && echo "YES" || echo "NO")"
132+
echo "DEBUG: Changed files contain powertools-common/: $(echo "$CHANGED_FILES" | grep -q "powertools-common/" && echo "YES" || echo "NO")"
133+
echo "DEBUG: Changed files contain $module_path/: $(echo "$CHANGED_FILES" | grep -q "$module_path/" && echo "YES" || echo "NO")"
131134
132135
# Check if this specific module or common dependencies changed
133-
if echo " $CHANGED_FILES " | grep -q " $module_path/" || \
136+
if echo "$CHANGED_FILES" | grep -q "$module_path/" || \
134137
echo "$CHANGED_FILES" | grep -q "pom.xml" || \
135138
echo "$CHANGED_FILES" | grep -q "powertools-common/"; then
136139
echo "Changes detected in $module_name - running GraalVM tests"

0 commit comments

Comments
 (0)