mirror of https://github.com/actions/toolkit
Adding pipe back
parent
b6c87ceea7
commit
9322468ef0
|
@ -71,9 +71,11 @@ export async function createZipUploadStream(
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// zip.finalize()
|
zip.finalize()
|
||||||
const bufferSize = getUploadChunkSize()
|
const bufferSize = getUploadChunkSize()
|
||||||
const zipUploadStream = new ZipUploadStream(bufferSize)
|
const zipUploadStream = new ZipUploadStream(bufferSize)
|
||||||
|
zip.pipe(zipUploadStream) // Pipe the zip stream into zipUploadStream
|
||||||
|
|
||||||
core.debug(
|
core.debug(
|
||||||
`Zip write high watermark value ${zipUploadStream.writableHighWaterMark}`
|
`Zip write high watermark value ${zipUploadStream.writableHighWaterMark}`
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue