mirror of https://github.com/actions/toolkit
testing debug statements
parent
97629b8767
commit
ca87c5e124
|
@ -26,9 +26,9 @@ export async function createZipUploadStream(
|
||||||
uploadSpecification: UploadZipSpecification[],
|
uploadSpecification: UploadZipSpecification[],
|
||||||
compressionLevel: number = DEFAULT_COMPRESSION_LEVEL
|
compressionLevel: number = DEFAULT_COMPRESSION_LEVEL
|
||||||
): Promise<ZipUploadStream> {
|
): Promise<ZipUploadStream> {
|
||||||
core.debug(
|
// core.debug(
|
||||||
`Creating Artifact archive with compressionLevel: ${compressionLevel}`
|
// `Creating Artifact archive with compressionLevel: ${compressionLevel}`
|
||||||
)
|
// )
|
||||||
const zlibOptions = {
|
const zlibOptions = {
|
||||||
zlib: {level: compressionLevel, bufferSize: getUploadChunkSize()}
|
zlib: {level: compressionLevel, bufferSize: getUploadChunkSize()}
|
||||||
}
|
}
|
||||||
|
@ -85,12 +85,12 @@ export async function createZipUploadStream(
|
||||||
const bufferSize = getUploadChunkSize()
|
const bufferSize = getUploadChunkSize()
|
||||||
const zipUploadStream = new ZipUploadStream(bufferSize)
|
const zipUploadStream = new ZipUploadStream(bufferSize)
|
||||||
|
|
||||||
core.debug(
|
// core.debug(
|
||||||
`Zip write high watermark value ${zipUploadStream.writableHighWaterMark}`
|
// `Zip write high watermark value ${zipUploadStream.writableHighWaterMark}`
|
||||||
)
|
// )
|
||||||
core.debug(
|
// core.debug(
|
||||||
`Zip read high watermark value ${zipUploadStream.readableHighWaterMark}`
|
// `Zip read high watermark value ${zipUploadStream.readableHighWaterMark}`
|
||||||
)
|
// )
|
||||||
|
|
||||||
zip.pipe(zipUploadStream)
|
zip.pipe(zipUploadStream)
|
||||||
zip.finalize()
|
zip.finalize()
|
||||||
|
|
Loading…
Reference in New Issue