mirror of
https://github.com/Mozilla-Actions/sccache-action.git
synced 2026-04-08 17:42:13 +08:00
Add job id to annotation title
This commit is contained in:
committed by
Sylvestre Ledru
parent
f136be3826
commit
afdb6b9946
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user