diff --git a/.github/workflows/reusable-generate_other_formats_new.yaml b/.github/workflows/reusable-generate_other_formats_new.yaml index 25fb62e2..39724e96 100644 --- a/.github/workflows/reusable-generate_other_formats_new.yaml +++ b/.github/workflows/reusable-generate_other_formats_new.yaml @@ -49,21 +49,25 @@ jobs: run: | cd linkml-schema models_list="${{ inputs.model_name }}" + echo " " echo "Model list: $models_list" for name in $(echo "$models_list" | tr ',' '\n'); do echo "Processing $name model..."; linkml generate json-schema ${name}.yaml > ../json-schema-autogen/${name}.json; + echo "json-schema generated"; # generating jsonld context and removing generation_date field to avoid constant updates linkml generate jsonld-context ${name}.yaml > ../jsonld-context-autogen/${name}.context.jsonld; sed -i "/generation_date/d" ../jsonld-context-autogen/${name}.context.jsonld; + echo "jsonld-context generated"; linkml generate pydantic ${name}.yaml > ../models_py-autogen/${name}.py; - linkml generate owl ${name}.yaml > ../owl-autogen/${name}.owl; + echo "pydantic model generated"; if [ ${name} = "library_generation" ] || [ ${name} = "genome_annotation" ]; then echo "Fixing erdiagrams for $name"; python ../utils/fix_and_create_erdiagram.py; else linkml generate erdiagram ${name}.yaml > ../erdiagram-autogen/${name}.md; fi + echo "erdiagram generated"; done cd ..