Skip to content

Commit

Permalink
filter documentation markdowns from schema generation
Browse files Browse the repository at this point in the history
  • Loading branch information
SergejMuhic authored May 23, 2023
1 parent b072bcc commit 75858e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/filter-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 75858e2

Please sign in to comment.