fix(action): print old-report.json or debugging purposes
It has an issue?
This commit is contained in:
parent
72a3513f46
commit
fd5476dc11
1 changed files with 8 additions and 1 deletions
|
@ -77,8 +77,15 @@ runs:
|
|||
JOB_NAME: ${{ inputs.job-name }}
|
||||
PRIVATE_REPO: ${{ inputs.private-repo-workaround }}
|
||||
run: |
|
||||
. "${GITHUB_ACTION_PATH}/utils.sh"
|
||||
|
||||
if "$GITHUB_ACTION_PATH/retrieve-old-report.sh" && [ -f old-report.json ]; then
|
||||
log "Reporting on sizes and comparing to sizes in $HEAD_BRANCH"
|
||||
log "Reporting on sizes and comparing to sizes in $HEAD_BRANCH"
|
||||
|
||||
group 'Old report data'
|
||||
cat old-report.json
|
||||
endgroup
|
||||
|
||||
"$GITHUB_ACTION_PATH/comment_on_pr.sh" report.json old-report.json
|
||||
else
|
||||
log 'Reporting on sizes'
|
||||
|
|
Loading…
Reference in a new issue