Skip to content

Commit

Permalink
Make it work with multi line variable
Browse files Browse the repository at this point in the history
  • Loading branch information
valerena committed May 20, 2024
1 parent 46655ee commit 3b418d6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/check-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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<<EOF" >> "$GITHUB_OUTPUT"
cat "$report" >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
create-issue:
runs-on: ubuntu-latest
needs: check-binary
Expand Down

0 comments on commit 3b418d6

Please sign in to comment.