fix multiline string outputs

This commit is contained in:
SaillantNicolas 2022-11-04 11:14:56 +01:00 committed by GitHub
parent 4cfb6840c0
commit 80c3693de0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -107,7 +107,10 @@ jobs:
make -j2 doc_with_postprocessing 2>tmp.log
if [ -s tmp.log ]; then
content=`cat ./tmp.log`
echo "DoxygenError=$(cat tmp.log)" >> $GITHUB_OUTPUT
delimiter="$(openssl rand -hex 8)"
echo "DoxygenError<<${delimiter}" >> "${GITHUB_OUTPUT}"
cat tmp.log >> "${GITHUB_OUTPUT}"
echo "${delimiter}" >> "${GITHUB_OUTPUT}"
exit 1
fi
cd ..