We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd193de commit a495539Copy full SHA for a495539
1 file changed
script/build-stats.mjs
@@ -32,7 +32,8 @@ async function main () {
32
}));
33
const hitRate = stats.CacheHit / (stats.Remote + stats.CacheHit + stats.LocalFallback);
34
35
- console.log(`Effective cache hit rate: ${(hitRate * 100).toFixed(2)}%`);
+ const messagePrefix = process.env.GITHUB_ACTIONS ? '::notice title=Build Stats::' : '';
36
+ console.log(`${messagePrefix}Effective cache hit rate: ${(hitRate * 100).toFixed(2)}%`);
37
38
if (uploadStats) {
39
if (!process.env.DD_API_KEY) {
0 commit comments