From afdb6b9946f97fa7509ed7eb3a547b85163b5e96 Mon Sep 17 00:00:00 2001 From: Wren Etheredge Date: Thu, 3 Jul 2025 21:45:45 -0400 Subject: [PATCH] Add job id to annotation title --- src/show_stats.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/show_stats.ts b/src/show_stats.ts index 7b34ae2..67e810a 100644 --- a/src/show_stats.ts +++ b/src/show_stats.ts @@ -13,6 +13,7 @@ // limitations under the License. import * as core from '@actions/core'; +import {context} from '@actions/github'; import * as exec from '@actions/exec'; import {SummaryTableRow} from '@actions/core/lib/summary'; @@ -50,8 +51,9 @@ async function show_stats() { const formatted_stats = format_json_stats(stats); core.notice(formatted_stats.notice, { - title: 'sccache stats' + title: `sccache stats - ${context.job}` }); + core.info('\nFull human-readable stats:'); core.info(human_stats);