File tree Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Original file line number Diff line number Diff line change 5151 max_lock_duration : ${{ inputs.max_lock_duration }}
5252 max_duration : ${{ inputs.max_duration }}
5353
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-
6554 - name : Post comment to PR
6655 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
6857 with :
6958 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
4343 exit 1
4444fi
4545
46- echo " ::set-output name=response::$( cat response.json) "
47-
4846clone_id=$( jq -r ' .clone_id' response.json)
4947session_id=$( jq -r ' .session.session_id' response.json)
5048
You can’t perform that action at this time.
0 commit comments