From 29eb559c2070bc067b395b50fa7fabf027f2d376 Mon Sep 17 00:00:00 2001 From: Miepee <38186597+Miepee@users.noreply.github.com> Date: Fri, 4 Feb 2022 15:32:10 +0100 Subject: [PATCH] Actions: Make error result cleaner --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8658b53..81994bc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,5 +1,3 @@ -# This is a basic workflow to help you get started with Actions - name: Test Square SVGs # Triggers the workflow on push / pull request events but only for the svg folder @@ -66,7 +64,10 @@ jobs: done # Results + # If the error Array is not empty, print everything from it and error out + # Otherwise exit normally if [[ ${#errArr[@]} != 0 ]] ; then + echo "--------------------" for errMess in "${errArr[@]}" do echo $errMess