From 4d326453bc9f9a3a619468c2f33f883ce191910d Mon Sep 17 00:00:00 2001 From: Sandro Campos Date: Thu, 30 Nov 2023 00:15:56 -0500 Subject: [PATCH] Try to fix publish-comments.yml --- .github/workflows/publish-comments.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish-comments.yml b/.github/workflows/publish-comments.yml index d816bb5..164c1d7 100644 --- a/.github/workflows/publish-comments.yml +++ b/.github/workflows/publish-comments.yml @@ -31,12 +31,9 @@ jobs: - name: Extract artifacts information id: pr-info run: | - pr_number=$(cat pr) - echo "PR number: $pr_number" - output_content=$(cat output) - echo "Output: $output_content" - echo "pr=$pr_number" >> $GITHUB_OUTPUT - echo "output=$output_content" >> $GITHUB_OUTPUT + echo "PR number: $(cat pr)" + echo "Output:\n $(cat output)" + echo "pr=$(cat pr)" >> $GITHUB_OUTPUT - name: Find benchmarks comment uses: peter-evans/find-comment@v2 id: find-comment @@ -49,5 +46,5 @@ jobs: with: comment-id: ${{ steps.find-comment.outputs.comment-id }} issue-number: ${{ steps.pr-info.outputs.pr }} - body-path: ${{ steps.pr-info.outputs.output }} + body-path: output edit-mode: replace