File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -32,13 +32,15 @@ jobs:
32
32
# The sed removes carriage returns so that the body is easier to parse later, and
33
33
# escapes backticks so that they are not executed as commands.
34
34
PR_BODY=$(printf '%s' "$PR" | jq '.[0].body' | sed 's/\\r//g' | sed 's/`/\\`/g')
35
- echo pr_body=${PR_BODY} >> $GITHUB_OUTPUT
35
+ echo "pr_body<<EOF" >> $GITHUB_ENV
36
+ echo "$PR_BODY" >> $GITHUB_ENV
37
+ echo "EOF" >> $GITHUB_ENV
36
38
- name : Extract Changelog
37
39
id : extract_changelog
38
40
shell : bash
39
41
run : |-
40
42
set -x
41
- PR_BODY=${{ steps.fetch_pr_body.outputs .pr_body}}
43
+ PR_BODY=${{ env .pr_body}}
42
44
if [[ $PR_BODY = "null" ]]; then
43
45
echo "No PR body exists for this commit, so a release cannot be generated."
44
46
exit 1
You can’t perform that action at this time.
0 commit comments