diff --git a/packages/artifact/src/internal/upload/upload-artifact.ts b/packages/artifact/src/internal/upload/upload-artifact.ts index a4f1ef6c..d406733f 100644 --- a/packages/artifact/src/internal/upload/upload-artifact.ts +++ b/packages/artifact/src/internal/upload/upload-artifact.ts @@ -108,12 +108,12 @@ export async function uploadArtifact( core.info( `Artifact ${name}.zip successfully finalized. Artifact ID ${artifactId}` ) - if (core.isDebug()) { + // if (core.isDebug()) { setTimeout(function () { core.debug('Processes keeping upload stream running:') whyIsNodeRunning() }, 500) - } + // } // return { diff --git a/packages/artifact/src/internal/upload/zip.ts b/packages/artifact/src/internal/upload/zip.ts index d7a748fe..4b968dd4 100644 --- a/packages/artifact/src/internal/upload/zip.ts +++ b/packages/artifact/src/internal/upload/zip.ts @@ -29,6 +29,7 @@ export async function createZipUploadStream( core.debug( `Creating Artifact archive with compressionLevel: ${compressionLevel}` ) + const zip = archiver.create('zip', { highWaterMark: getUploadChunkSize(), zlib: {level: compressionLevel}