Skip to content

Commit f1254cb

Browse files
authored
Increase search lines for japicmp check (#6795)
Previous value of 50 was too restrictive and causes the full set of included modules to be truncated.
1 parent 2bd73af commit f1254cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/new-module-verification.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ jobs:
161161
fi
162162
163163
# 6. Check if japicmp plugin config is updated
164-
JAPICMP_CHECK=$(grep -A 50 "<artifactId>japicmp-maven-plugin</artifactId>" pom.xml 2>/dev/null | grep -A 50 "<includeModules>" 2>/dev/null | grep -q "<includeModule>$MODULE_NAME</includeModule>" 2>/dev/null || echo "MISSING")
164+
JAPICMP_CHECK=$(grep -A 75 "<artifactId>japicmp-maven-plugin</artifactId>" pom.xml 2>/dev/null | grep -A 75 "<includeModules>" 2>/dev/null | grep -q "<includeModule>$MODULE_NAME</includeModule>" 2>/dev/null || echo "MISSING")
165165
if [ "$JAPICMP_CHECK" = "MISSING" ]; then
166166
echo "::error::Module $MODULE_NAME is not included in japicmp-maven-plugin includeModules section in pom.xml"
167167
HAS_ERRORS=1

0 commit comments

Comments
 (0)