File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -212,10 +212,6 @@ def main():
212212 # Find missing logos
213213 missing_logos = find_missing_logos (modules_dir )
214214
215- if not missing_logos :
216- print ("✅ All building blocks have logos!" )
217- sys .exit (0 )
218-
219215 # Generate prompts for each missing logo
220216 results = []
221217 for item in missing_logos :
Original file line number Diff line number Diff line change 3030 id : generate
3131 run : |
3232 python .github/scripts/generate-icon-prompts.py > prompts.json
33- echo "has_missing=$([ -s prompts.json ] && echo 'true' || echo 'false')" >> $GITHUB_OUTPUT
33+ COUNT=$(jq 'length' prompts.json)
34+ echo "has_missing=$([ "$COUNT" -gt 0 ] && echo 'true' || echo 'false')" >> $GITHUB_OUTPUT
35+ echo "count=$COUNT" >> $GITHUB_OUTPUT
3436
3537 - name : Read prompts
3638 if : steps.generate.outputs.has_missing == 'true'
You can’t perform that action at this time.
0 commit comments