File tree 2 files changed +2
-15
lines changed
2 files changed +2
-15
lines changed Original file line number Diff line number Diff line change 51
51
max_lock_duration : ${{ inputs.max_lock_duration }}
52
52
max_duration : ${{ inputs.max_duration }}
53
53
54
- - id : comment-body
55
- run : |
56
- body="$(cat report.md)"
57
- body="${body//'%'/'%25'}"
58
- body="${body//$'\n'/'%0A'}"
59
- body="${body//$'\r'/'%0D'}"
60
- echo "::set-output name=body::$body"
61
- shell : bash
62
- working-directory : artifacts
63
- if : ${{ always() }}
64
-
65
54
- name : Post comment to PR
66
55
if : ${{ always() && github.event_name == 'pull_request' }}
67
- uses : peter-evans/create-or-update-comment@v2
56
+ uses : peter-evans/create-or-update-comment@v2.1.0
68
57
with :
69
58
issue-number : ${{ github.event.pull_request.number }}
70
- body : ${{ steps.comment-body.outputs.body }}
59
+ body-file : ' artifacts/report.md '
Original file line number Diff line number Diff line change @@ -43,8 +43,6 @@ if [[ $response_code -ne 200 ]]; then
43
43
exit 1
44
44
fi
45
45
46
- echo " ::set-output name=response::$( cat response.json) "
47
-
48
46
clone_id=$( jq -r ' .clone_id' response.json)
49
47
session_id=$( jq -r ' .session.session_id' response.json)
50
48
You can’t perform that action at this time.
0 commit comments