Skip to content

Commit 3b418d6

Browse files
committed
Make it work with multi line variable
1 parent 46655ee commit 3b418d6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/check-binaries.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ jobs:
4545
echo "Vulnerabilities stored in $report_csv"
4646
report="${report_csv}.txt"
4747
awk -F',' '{n=split($10, path, "/"); print $2,$3,$4,$5,path[n]}' "$report_csv" | column -t > "$report" # make the CSV nicer
48-
echo "report_contents=$(cat $report)" >> "$GITHUB_OUTPUT"
48+
echo "report_contents<<EOF" >> "$GITHUB_OUTPUT"
49+
cat "$report" >> "$GITHUB_OUTPUT"
50+
echo "EOF" >> "$GITHUB_OUTPUT"
51+
4952
create-issue:
5053
runs-on: ubuntu-latest
5154
needs: check-binary

0 commit comments

Comments
 (0)