1
0
Fork 0

update debug statement

pull/1700/head
Vallie Joseph 2024-03-28 04:20:40 +00:00
parent 4617da254f
commit 4090623397
2 changed files with 3 additions and 2 deletions

View File

@ -108,12 +108,12 @@ export async function uploadArtifact(
core.info( core.info(
`Artifact ${name}.zip successfully finalized. Artifact ID ${artifactId}` `Artifact ${name}.zip successfully finalized. Artifact ID ${artifactId}`
) )
if (core.isDebug()) { // if (core.isDebug()) {
setTimeout(function () { setTimeout(function () {
core.debug('Processes keeping upload stream running:') core.debug('Processes keeping upload stream running:')
whyIsNodeRunning() whyIsNodeRunning()
}, 500) }, 500)
} // }
// //
return { return {

View File

@ -29,6 +29,7 @@ export async function createZipUploadStream(
core.debug( core.debug(
`Creating Artifact archive with compressionLevel: ${compressionLevel}` `Creating Artifact archive with compressionLevel: ${compressionLevel}`
) )
const zip = archiver.create('zip', { const zip = archiver.create('zip', {
highWaterMark: getUploadChunkSize(), highWaterMark: getUploadChunkSize(),
zlib: {level: compressionLevel} zlib: {level: compressionLevel}