Add diagnostic reporting for validation phase.
This commit is contained in:
parent
17fec907ec
commit
bd28d4bdd2
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,7 @@ if [ $? -eq 0 ]; then
|
|||
echo "::error::Aborted. Version value '$version' cannot contain spaces." >&2
|
||||
exit 1
|
||||
fi
|
||||
echo "::debug::Version '$version' is valid."
|
||||
|
||||
if [ "$packages" == "" ]; then
|
||||
echo "::error::Aborted. Packages argument cannot be empty." >&2
|
||||
|
@ -23,5 +24,6 @@ for package in $packages; do
|
|||
exit 3
|
||||
fi
|
||||
done
|
||||
echo "::debug::Packages '$packages' are valid."
|
||||
|
||||
echo "::endgroup::"
|
||||
|
|
Loading…
Reference in a new issue