Skip to content

Commit

Permalink
add info level logging for zip extract
Browse files Browse the repository at this point in the history
  • Loading branch information
bethanyj28 committed Mar 1, 2024
1 parent 0c735ba commit bb420e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ export async function streamExtractExternal(
reject(new Error(`Malformed extraction path: ${fullPath}`))
}

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

0 comments on commit bb420e4

Please sign in to comment.