mirror of
https://github.com/mozilla-actions/sccache-action
synced 2026-09-14 20:13:56 +00:00
Add job id to annotation title
This commit is contained in:
committed by
Sylvestre Ledru
parent
f136be3826
commit
afdb6b9946
+3
-1
@@ -13,6 +13,7 @@
|
|||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import * as core from '@actions/core';
|
import * as core from '@actions/core';
|
||||||
|
import {context} from '@actions/github';
|
||||||
import * as exec from '@actions/exec';
|
import * as exec from '@actions/exec';
|
||||||
import {SummaryTableRow} from '@actions/core/lib/summary';
|
import {SummaryTableRow} from '@actions/core/lib/summary';
|
||||||
|
|
||||||
@@ -50,8 +51,9 @@ async function show_stats() {
|
|||||||
const formatted_stats = format_json_stats(stats);
|
const formatted_stats = format_json_stats(stats);
|
||||||
|
|
||||||
core.notice(formatted_stats.notice, {
|
core.notice(formatted_stats.notice, {
|
||||||
title: 'sccache stats'
|
title: `sccache stats - ${context.job}`
|
||||||
});
|
});
|
||||||
|
|
||||||
core.info('\nFull human-readable stats:');
|
core.info('\nFull human-readable stats:');
|
||||||
core.info(human_stats);
|
core.info(human_stats);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user