From 3b418d625fd120c6ebbe273ce2c34aacd2663c58 Mon Sep 17 00:00:00 2001 From: Renato Valenzuela Date: Mon, 20 May 2024 18:49:39 +0000 Subject: [PATCH] Make it work with multi line variable --- .github/workflows/check-binaries.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-binaries.yml b/.github/workflows/check-binaries.yml index 294ebac..8273a38 100644 --- a/.github/workflows/check-binaries.yml +++ b/.github/workflows/check-binaries.yml @@ -45,7 +45,10 @@ jobs: echo "Vulnerabilities stored in $report_csv" report="${report_csv}.txt" awk -F',' '{n=split($10, path, "/"); print $2,$3,$4,$5,path[n]}' "$report_csv" | column -t > "$report" # make the CSV nicer - echo "report_contents=$(cat $report)" >> "$GITHUB_OUTPUT" + echo "report_contents<> "$GITHUB_OUTPUT" + cat "$report" >> "$GITHUB_OUTPUT" + echo "EOF" >> "$GITHUB_OUTPUT" + create-issue: runs-on: ubuntu-latest needs: check-binary