mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-10-20 15:18:56 +08:00
Move writing of cache report into job-summary.ts
This commit is contained in:
@@ -92,7 +92,7 @@ export function logCachingReport(listener: CacheListener): void {
|
||||
return
|
||||
}
|
||||
|
||||
core.summary.addHeading('Caching Summary')
|
||||
core.summary.addHeading('Caching Summary', 3)
|
||||
|
||||
const entries = listener.cacheEntries
|
||||
.map(
|
||||
@@ -129,10 +129,9 @@ export function logCachingReport(listener: CacheListener): void {
|
||||
<pre>
|
||||
${entries}
|
||||
</pre>
|
||||
|
||||
`
|
||||
)
|
||||
|
||||
core.summary.write()
|
||||
}
|
||||
|
||||
function getCount(
|
||||
|
Reference in New Issue
Block a user