Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/new-module-verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,16 +96,24 @@ jobs:
else
echo "✅ Module is excluded from maven deploy command"
fi

# 2. Check if excluded from maven deploy command
if ! grep -q "$MODULE_NAME" buildspecs/release-to-maven-central.yml 2>/dev/null; then
echo "::error::Module $MODULE_NAME is not excluded from maven deploy command in buildspecs/release-to-maven-central.yml"
HAS_ERRORS=1
else
echo "✅ Module is excluded from maven deploy command"
fi

# 2. Check if excluded from javadoc generation
# 3. Check if excluded from javadoc generation
if ! grep -q "$MODULE_NAME" buildspecs/release-javadoc.yml 2>/dev/null; then
echo "::error::Module $MODULE_NAME is not excluded from javadoc generation in buildspecs/release-javadoc.yml"
HAS_ERRORS=1
else
echo "✅ Module is excluded from javadoc generation"
fi

# 3. Check if Brazil import is skipped
# 4. Check if Brazil import is skipped
if ! grep -q "\"$MODULE_NAME\".*\"skipImport\".*true" .brazil.json 2>/dev/null; then
echo "::error::Module $MODULE_NAME is not configured to skip Brazil import in .brazil.json"
HAS_ERRORS=1
Expand Down
Loading