Add diagnostic reporting for validation phase.

This commit is contained in:
awalsh128 2021-10-21 16:00:06 -07:00
parent 17fec907ec
commit bd28d4bdd2

View file

@ -10,6 +10,7 @@ if [ $? -eq 0 ]; then
echo "::error::Aborted. Version value '$version' cannot contain spaces." >&2 echo "::error::Aborted. Version value '$version' cannot contain spaces." >&2
exit 1 exit 1
fi fi
echo "::debug::Version '$version' is valid."
if [ "$packages" == "" ]; then if [ "$packages" == "" ]; then
echo "::error::Aborted. Packages argument cannot be empty." >&2 echo "::error::Aborted. Packages argument cannot be empty." >&2
@ -23,5 +24,6 @@ for package in $packages; do
exit 3 exit 3
fi fi
done done
echo "::debug::Packages '$packages' are valid."
echo "::endgroup::" echo "::endgroup::"