mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-22 02:49:05 +08:00
add info level logging for zip extract
This commit is contained in:
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…
x
Reference in New Issue
Block a user