Skip to content

Commit 8e4f8c5

Browse files
authored
Replace deprecated command with environment file (#5776)
1 parent fc2e89c commit 8e4f8c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/analyze_comment.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ jobs:
4444
body="${body//'%'/'%25'}"
4545
body="${body//$'\n'/'%0A'}"
4646
body="${body//$'\r'/'%0D'}"
47-
echo ::set-output name=body::$body
48-
echo ::set-output name=pr-number::$pr_number
47+
echo "body=$body" >> $GITHUB_OUTPUT
48+
echo "pr-number=$pr_number" >> $GITHUB_OUTPUT
4949
5050
- name: Find Comment
5151
uses: peter-evans/find-comment@v1
@@ -69,4 +69,4 @@ jobs:
6969
issue-number: ${{ steps.get-comment-body.outputs.pr-number }}
7070
body: ${{ steps.get-comment-body.outputs.body }}
7171
comment-id: ${{ steps.fc.outputs.comment-id }}
72-
edit-mode: replace
72+
edit-mode: replace

0 commit comments

Comments
 (0)