Add intructions for debugging (#154)

pull/157/head v1.4
Webber Takken 2020-09-27 21:44:14 +02:00 committed by GitHub
parent 22bc9a9bad
commit f42f7923ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

17
action/entrypoint.sh 100644 → 100755
View File

@ -8,6 +8,23 @@ source /steps/activate.sh
source /steps/build.sh
source /steps/return_license.sh
#
# Instructions for debugging
#
if [[ $BUILD_EXIT_CODE -gt 0 ]]; then
echo ""
echo "###########################"
echo "# Failure #"
echo "###########################"
echo ""
echo "Please note that the exit code is not very descriptive."
echo "Most likely it will not help you solve the issue."
echo ""
echo "To find the reason for failure: please search for errors in the log above."
echo ""
fi;
#
# Exit with code from the build step.
#