mirror of https://github.com/actions/toolkit
add info level logging for zip extract
parent
0c735ba79d
commit
bb420e4681
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue