1
0
Fork 0
mirror of https://github.com/actions/toolkit synced 2025-05-10 17:12:54 +00:00

update debug statement

This commit is contained in:
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(
`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 {

View file

@ -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}