From bb420e4681af5920dd5be5314ebfc400031dcd31 Mon Sep 17 00:00:00 2001 From: bethanyj28 Date: Fri, 1 Mar 2024 12:54:40 -0500 Subject: [PATCH 1/2] add info level logging for zip extract --- packages/artifact/src/internal/download/download-artifact.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/artifact/src/internal/download/download-artifact.ts b/packages/artifact/src/internal/download/download-artifact.ts index c30d65f2..fb7fe0a3 100644 --- a/packages/artifact/src/internal/download/download-artifact.ts +++ b/packages/artifact/src/internal/download/download-artifact.ts @@ -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) @@ -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)) From 4799020e289c420c907c9745965e7f5a9f41de9d Mon Sep 17 00:00:00 2001 From: bethanyj28 Date: Fri, 1 Mar 2024 13:04:16 -0500 Subject: [PATCH 2/2] bump version --- packages/artifact/RELEASES.md | 4 ++++ packages/artifact/package-lock.json | 4 ++-- packages/artifact/package.json | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/artifact/RELEASES.md b/packages/artifact/RELEASES.md index 9a1b6100..ca32b7eb 100644 --- a/packages/artifact/RELEASES.md +++ b/packages/artifact/RELEASES.md @@ -1,5 +1,9 @@ # @actions/artifact Releases +### 2.1.4 + +- Adds info-level logging for zip extraction + ### 2.1.3 - Fixes a bug in the extract logic updated in 2.1.2 diff --git a/packages/artifact/package-lock.json b/packages/artifact/package-lock.json index 28ee4de7..4ce3c7fb 100644 --- a/packages/artifact/package-lock.json +++ b/packages/artifact/package-lock.json @@ -1,12 +1,12 @@ { "name": "@actions/artifact", - "version": "2.1.3", + "version": "2.1.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@actions/artifact", - "version": "2.1.3", + "version": "2.1.4", "license": "MIT", "dependencies": { "@actions/core": "^1.10.0", diff --git a/packages/artifact/package.json b/packages/artifact/package.json index e5668fba..c1557081 100644 --- a/packages/artifact/package.json +++ b/packages/artifact/package.json @@ -1,6 +1,6 @@ { "name": "@actions/artifact", - "version": "2.1.3", + "version": "2.1.4", "preview": true, "description": "Actions artifact lib", "keywords": [