Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/workflows/pr_benchmark_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,15 @@ jobs:

- id: get-comment-body
run: |
body="$(cat asv_compare.log)"
body="${body//'%'/'%25'}"
body="${body//$'\n'/'%0A'}"
body="${body//$'\r'/'%0D'}"
echo "::set-output name=body::$body"
{
echo 'body<<EOF'
cat asv_compare.log
echo 'EOF'
} >> "$GITHUB_OUTPUT"

- id: get-pr-number
run: |
number="$(cat pr_number)"
echo "::set-output name=number::$number"
echo "number=$(cat pr_number)" >> "$GITHUB_OUTPUT"

- name: Find Comment
uses: peter-evans/find-comment@v4
Expand Down