1
0
Fork 0

add info level logging for zip extract

pull/1678/head
bethanyj28 2024-03-01 12:54:40 -05:00
parent 0c735ba79d
commit bb420e4681
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,6 @@ export async function streamExtractExternal(
reject(new Error(`Malformed extraction path: ${fullPath}`)) reject(new Error(`Malformed extraction path: ${fullPath}`))
} }
core.debug(`Extracting artifact entry: ${fullPath}`)
if (entry.type === 'Directory') { if (entry.type === 'Directory') {
if (!createdDirectories.has(fullPath)) { if (!createdDirectories.has(fullPath)) {
createdDirectories.add(fullPath) createdDirectories.add(fullPath)
@ -125,6 +124,7 @@ export async function streamExtractExternal(
callback() callback()
} }
} else { } else {
core.info(`Extracting artifact entry: ${fullPath}`)
if (!createdDirectories.has(path.dirname(fullPath))) { if (!createdDirectories.has(path.dirname(fullPath))) {
createdDirectories.add(path.dirname(fullPath)) createdDirectories.add(path.dirname(fullPath))
await resolveOrCreateDirectory(path.dirname(fullPath)) await resolveOrCreateDirectory(path.dirname(fullPath))