diff --git a/src/service.ts b/src/service.ts index dd7234e0..fd3ed817 100644 --- a/src/service.ts +++ b/src/service.ts @@ -25,8 +25,10 @@ const downloadExpectedImages = async (client: DownloadClient, latestArtifactId: log.info(`Start to download expected images, artifact id = ${latestArtifactId}`); try { const zip = await client.downloadArtifact(latestArtifactId); + const buf = Buffer.from(zip.data as any); + log.info(`Downloaded zip size = ${buf.byteLength}`); await Promise.all( - new Zip(Buffer.from(zip.data as any)) + new Zip(buf) .getEntries() .filter(f => { log.info('entryName:', f.entryName);