Skip to content

Commit 4db07c7

Browse files
committed
re-include api-with-examples.yaml in yaml2json conversion
1 parent 8efab5f commit 4db07c7

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/yaml2json.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,9 @@ jobs:
3535
for file in *.yaml ; do
3636
target=`basename -s .yaml $file`.json
3737
echo "converting $file to $target ..."
38-
if [ "$file" != "api-with-examples.yaml" ] ; then
39-
vendor/bin/php-openapi convert --read-yaml $file --write-json $target
40-
vendor/bin/indent --tabs --tabstop=4 $target
41-
vendor/bin/indent --spaces --tabstop=2 $target
42-
fi
38+
vendor/bin/php-openapi convert --read-yaml $file --write-json $target
39+
vendor/bin/indent --tabs --tabstop=4 $target
40+
vendor/bin/indent --spaces --tabstop=2 $target
4341
done
4442
4543
- name: cleanup

0 commit comments

Comments
 (0)