diff --git a/action.yml b/action.yml index f27253b..fa8706f 100644 --- a/action.yml +++ b/action.yml @@ -90,6 +90,7 @@ runs: # We want to generate a comment and we we able to find the PR number if: inputs.comment-on-pr == 'true' && steps.pr-number.outputs.pr-number != '' env: + ARTIFACT_NAME: ${{ inputs.artifact-name }} PR_ID: ${{ steps.pr-number.outputs.pr-number }} COMMENT_ID: ${{ steps.find-comment.outputs.comment-id }} DO_COMPARISON: ${{ inputs.do-comparison }} diff --git a/scripts/retrieve-old-report.sh b/scripts/retrieve-old-report.sh index ee83f08..792b43c 100755 --- a/scripts/retrieve-old-report.sh +++ b/scripts/retrieve-old-report.sh @@ -58,11 +58,10 @@ if [ "$(in_private_repo)" != 'true' ] && [ "$JOB_NAME" ]; then error "Failed to find previous report, expected at: $report_url" fi -warn "Couldn't retrieve old report:" -warn ' This usuially happens when running on private repos' -warn ' or when job-name is not set.' -warn -warn ' See the README for more details' +warn "Couldn't retrieve old report: + note: This usually happens when running on private repos or when job-name is not set. + + See the README for more details" error "Falling back to slow method (checkout $base_branch and generate the report)"