Skip to content

Commit

Permalink
Show advanced stats
Browse files Browse the repository at this point in the history
  • Loading branch information
orf committed May 12, 2024
1 parent 83647c9 commit 055c3e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/show_stats/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/show_stats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ async function get_output(command: string, args: string[]): Promise<string> {
async function show_stats() {
core.debug('start sccache show starts');
const human_stats = await core.group('Get human-readable stats', async () => {
return get_output(`${process.env.SCCACHE_PATH}`, ['--show-stats']);
return get_output(`${process.env.SCCACHE_PATH}`, ['--show-adv-stats']);
});
const json_stats = await core.group('Get JSON stats', async () => {
return get_output(`${process.env.SCCACHE_PATH}`, [
'--show-stats',
'--show-adv-stats',
'--stats-format=json'
]);
});
Expand Down

0 comments on commit 055c3e7

Please sign in to comment.