Skip to content

Commit

Permalink
fixing yaml syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
djarecka committed Mar 27, 2024
1 parent a19ce69 commit a905618
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate_other_formats.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_other_formats.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down

0 comments on commit a905618

Please sign in to comment.