From a905618d813534bea96ee479c8dbd2619978394b Mon Sep 17 00:00:00 2001 From: Dorota Jarecka Date: Wed, 27 Mar 2024 14:25:57 -0400 Subject: [PATCH] fixing yaml syntax --- .github/workflows/generate_other_formats.yaml | 4 ++-- .github/workflows/test_other_formats.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/generate_other_formats.yaml b/.github/workflows/generate_other_formats.yaml index c5112a814..a12039055 100644 --- a/.github/workflows/generate_other_formats.yaml +++ b/.github/workflows/generate_other_formats.yaml @@ -31,9 +31,9 @@ jobs: - name: Generate other model representations run: | cd linkml-schema - for file in *.yaml; + for file in *.yaml; do if [ "$file" != "bican_biolink.yaml" ]; then - do name=`basename ${file} .yaml`; + name=`basename ${file} .yaml`; echo "Processing $name file.."; gen-json-schema ${file} > ../json-schema-autogen/${name}.json; # generating jsonld context and removing generation_date field to avoid constant updates diff --git a/.github/workflows/test_other_formats.yaml b/.github/workflows/test_other_formats.yaml index 31d0f83c9..1a40bba55 100644 --- a/.github/workflows/test_other_formats.yaml +++ b/.github/workflows/test_other_formats.yaml @@ -30,9 +30,9 @@ jobs: - name: Generate other model representations run: | cd linkml-schema - for file in *.yaml; + for file in *.yaml; do if [ "$file" != "bican_biolink.yaml" ]; then - do name=`basename ${file} .yaml`; + name=`basename ${file} .yaml`; echo "Processing $name file.."; # generating json schema gen-json-schema ${file};