From cf3ea14d33cc2e4fa1a9ff68a8557194add1b017 Mon Sep 17 00:00:00 2001 From: Micha Reiser Date: Mon, 28 Aug 2023 09:12:09 +0200 Subject: [PATCH] Fix multiline output --- .github/workflows/pr-comment.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-comment.yaml b/.github/workflows/pr-comment.yaml index 5058d3df9648f8..a556d5a941d5e1 100644 --- a/.github/workflows/pr-comment.yaml +++ b/.github/workflows/pr-comment.yaml @@ -52,7 +52,10 @@ jobs: echo "### Ecosystem" >> comment.txt cat pr/ecosystem/ecosystem-result >> comment.txt echo "" >> comment.txt + + echo 'comment<> $GITHUB_OUTPUT cat comment.txt >> $GITHUB_OUTPUT + echo 'EOF' >> $GITHUB_OUTPUT - name: Find Comment uses: peter-evans/find-comment@v2 @@ -67,7 +70,7 @@ jobs: if: steps.find-comment.outcome == 'success' uses: peter-evans/create-or-update-comment@v3 with: - comment-d: ${{ steps.find-comment.outputs.comment-id }} + comment-id: ${{ steps.find-comment.outputs.comment-id }} issue-number: ${{ steps.pr-number.outputs.pr-number }} body-path: comment.txt edit-mode: replace