From 75858e216f0c7ff770a5e7e5fa1a4e1a07cde635 Mon Sep 17 00:00:00 2001 From: SergejMuhic Date: Tue, 23 May 2023 15:01:30 +0200 Subject: [PATCH] filter documentation markdowns from schema generation --- .github/workflows/filter-changes.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/filter-changes.yml b/.github/workflows/filter-changes.yml index 2ca5507c4..755c4f3b8 100644 --- a/.github/workflows/filter-changes.yml +++ b/.github/workflows/filter-changes.yml @@ -38,7 +38,7 @@ jobs: - name: Specification modifications id: specification_modifications #grep -o .xml files.json | wc -w (for counting multiple instances per line) run: | - if [[ $HOME/files.json ]] && [[ $(($(grep -o ".xml" $HOME/files.json | wc -l)-$(grep -oiE "DocProperty.xml|DocQuantity.xmlDoc|PropertySet.xml|DocQuantitySet.xml|DocTemplateDefinition.xml|DocTemplateItem.xml|DocTemplateUsage.xml|DocPropertyConstant.xml|DocPropertyEnumeration.xml" $HOME/files.json | wc -l))) -gt 0 ]]; then + if [[ $HOME/files.json ]] && [[ $(($(grep -o ".xml" $HOME/files.json | wc -l)-$(grep -oiE "DocProperty.xml|DocQuantity.xmlDoc|PropertySet.xml|DocQuantitySet.xml|DocTemplateDefinition.xml|DocTemplateItem.xml|DocTemplateUsage.xml|DocPropertyConstant.xml|DocPropertyEnumeration.xml|Documentation.md" $HOME/files.json | wc -l))) -gt 0 ]]; then echo 'Schema changed.'; echo ::set-output name=SCHEMACHANGED::true; else