From 5b02f24c12dd97a4988abe43f71886cd8579be38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Kwiecin=CC=81ski?= Date: Fri, 16 Feb 2024 22:46:50 +0100 Subject: [PATCH] Add more debug logs --- entrypoint.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index b745ec4..090a0c2 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -31,6 +31,14 @@ git switch --force "$INPUT_BASEREF" ./gradlew $INPUT_ADDITIONAL_GRADLE_ARGUMENTS "$INPUT_PROJECT":dependencies --configuration "$INPUT_CONFIGURATION" > old_diff.txt java -jar dependency-tree-diff.jar old_diff.txt new_diff.txt > tree_diff.txt +if [ "$INPUT_DEBUG" == "true" ]; then + echo "diff generated" + ls -al + du tree_diff.txt + realpath tree_diff.txt + pwd +fi + delimiter=$(openssl rand -hex 20) echo "text-diff<<$delimiter" >> $GITHUB_OUTPUT cat tree_diff.txt >> $GITHUB_OUTPUT