Fix multiline output error
This commit is contained in:
parent
06b833eee9
commit
977919c36f
@ -40,10 +40,9 @@ fi
|
|||||||
if [ -z "$dest" ]; then
|
if [ -z "$dest" ]; then
|
||||||
kubectl $*
|
kubectl $*
|
||||||
else
|
else
|
||||||
output=$(kubectl $*)
|
echo "$dest<<EOF" >> $GITHUB_ENV
|
||||||
echo "::set-output name=$dest::$output"
|
kubectl $* >> $GITHUB_ENV
|
||||||
echo "::add-mask::$output"
|
echo "EOF" >> $GITHUB_ENV
|
||||||
|
|
||||||
# debug only
|
echo "::add-mask::$dest"
|
||||||
#echo $output
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user