Skip to content

Commit 8646ba3

Browse files
authored
Add message with Summary report URL (#326)
1 parent c6e7911 commit 8646ba3

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ runs:
117117
INPUT_JOBSUMMARY: ${{ inputs.JOBSUMMARY }}
118118
INPUT_CHECKBOX: ${{ inputs.CHECKBOX }}
119119
INPUT_OUTPUT: ${{ inputs.OUTPUT }}
120+
SUMMARY_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}#summary-${{ job.check_run_id }}
120121
shell: bash
121122
branding:
122123
icon: "external-link"

entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ echo
8989
if [ "${INPUT_FORMAT}" == "markdown" ]; then
9090
if [ "${INPUT_JOBSUMMARY}" = true ]; then
9191
cat "${LYCHEE_TMP}" > "${GITHUB_STEP_SUMMARY}"
92+
# Log a message with the URL to the Summary report
93+
echo "::notice::Summary report available at: ${SUMMARY_URL}"
9294
fi
9395
fi
9496

0 commit comments

Comments
 (0)