mirror of
https://github.com/actions/toolkit
synced 2025-05-11 01:22:57 +00:00
update debug statement
This commit is contained in:
parent
4617da254f
commit
4090623397
2 changed files with 3 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue