mirror of https://github.com/actions/toolkit
update debug statement
parent
4617da254f
commit
4090623397
|
@ -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 {
|
||||||
|
|
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue