mirror of https://github.com/dapr/quickstarts.git
run all building blocks
Signed-off-by: MD Ashique <noorani.ashique5@gmail.com>
This commit is contained in:
parent
c3fef7a94f
commit
9c913d9038
|
|
@ -87,10 +87,22 @@ jobs:
|
||||||
popd
|
popd
|
||||||
- name: Validate building blocks with C#
|
- name: Validate building blocks with C#
|
||||||
run: |
|
run: |
|
||||||
pushd ./bindings/csharp/http
|
variants=("http" "sdk")
|
||||||
echo "Validating ./bindings/csharp/http quickstart"
|
building_blocks=$(find . -maxdepth 1 -mindepth 1 -type d)
|
||||||
make validate
|
for building_block in $building_blocks; do
|
||||||
popd
|
for variant in "${variants[@]}"
|
||||||
|
do
|
||||||
|
if [ ! -d "$building_block/csharp/$variant" ];
|
||||||
|
then
|
||||||
|
echo "$building_block/csharp/$variant does not exist."
|
||||||
|
else
|
||||||
|
pushd $building_block/csharp/$variant
|
||||||
|
echo "Validating $building_block/csharp/$variant quickstart"
|
||||||
|
make validate
|
||||||
|
popd
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
done
|
||||||
- name: Linkcheck README.md
|
- name: Linkcheck README.md
|
||||||
run: |
|
run: |
|
||||||
make validate
|
make validate
|
||||||
Loading…
Reference in New Issue