diff --git a/src/create-cache-files.sh b/src/create-cache-files.sh index 0ce4140..7a2295a 100755 --- a/src/create-cache-files.sh +++ b/src/create-cache-files.sh @@ -14,4 +14,5 @@ if [ -z "$path" ]; then fi mkdir -p $path +echo -e "File content:\n$prefix $GITHUB_RUN_ID" echo "$prefix $GITHUB_RUN_ID" > $path/test-file.txt diff --git a/src/verify-cache-files.sh b/src/verify-cache-files.sh index 3ee8a84..78e1517 100755 --- a/src/verify-cache-files.sh +++ b/src/verify-cache-files.sh @@ -29,7 +29,7 @@ fi # Verify file content content="$(cat $file)" -echo "File content:\n$content" +echo -e "File content:\n$content" if [ -z "$(echo $content | grep --fixed-strings "$prefix $GITHUB_RUN_ID")" ]; then echo "Unexpected file content" exit 1