forked from Riesi/frog_emojis_old
Actions: Make error result cleaner
This commit is contained in:
parent
ce89334571
commit
29eb559c20
|
@ -1,5 +1,3 @@
|
||||||
# This is a basic workflow to help you get started with Actions
|
|
||||||
|
|
||||||
name: Test Square SVGs
|
name: Test Square SVGs
|
||||||
|
|
||||||
# Triggers the workflow on push / pull request events but only for the svg folder
|
# Triggers the workflow on push / pull request events but only for the svg folder
|
||||||
|
@ -66,7 +64,10 @@ jobs:
|
||||||
done
|
done
|
||||||
|
|
||||||
# Results
|
# Results
|
||||||
|
# If the error Array is not empty, print everything from it and error out
|
||||||
|
# Otherwise exit normally
|
||||||
if [[ ${#errArr[@]} != 0 ]] ; then
|
if [[ ${#errArr[@]} != 0 ]] ; then
|
||||||
|
echo "--------------------"
|
||||||
for errMess in "${errArr[@]}"
|
for errMess in "${errArr[@]}"
|
||||||
do
|
do
|
||||||
echo $errMess
|
echo $errMess
|
||||||
|
|
Loading…
Reference in New Issue