From 6a3708793dfb364f17f5591c4a3346d2b938bb48 Mon Sep 17 00:00:00 2001 From: Ben Wesch Date: Mon, 3 Jun 2024 14:00:00 +0200 Subject: [PATCH] filter newlines in summary --- .github/workflows/compile-and-artifacts.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/compile-and-artifacts.yml b/.github/workflows/compile-and-artifacts.yml index 1a1e5c4..a0b1569 100644 --- a/.github/workflows/compile-and-artifacts.yml +++ b/.github/workflows/compile-and-artifacts.yml @@ -234,7 +234,7 @@ jobs: for dek_file in $dek_files; do filename=$(basename "$dek_file") echo -e "#### Contents of \`$filename\`:\n\`\`\`" | tee -a $GITHUB_STEP_SUMMARY - unzip -l "$dek_file" | awk 'NR>3 {print $4}' | tee -a $GITHUB_STEP_SUMMARY + unzip -l "$dek_file" | awk 'NR>3 {print $4}' | sed '/^$/d' | tee -a $GITHUB_STEP_SUMMARY echo '```' | tee -a $GITHUB_STEP_SUMMARY done done