mirror of https://github.com/actions/toolkit
check if upload and zipload streams are writable
parent
d597cf234f
commit
6ac9cbfda9
|
@ -52,12 +52,11 @@ export async function uploadZipToBlobStorage(
|
||||||
zipUploadStream.pipe(hashStream).setEncoding('hex') // This stream is used to compute a hash of the zip content that gets used. Integrity check
|
zipUploadStream.pipe(hashStream).setEncoding('hex') // This stream is used to compute a hash of the zip content that gets used. Integrity check
|
||||||
|
|
||||||
core.info('Beginning upload of artifact content to blob storage')
|
core.info('Beginning upload of artifact content to blob storage')
|
||||||
const isItReadable = zipUploadStream.readable
|
core.info(`Is the zipUploadStream readable? ${zipUploadStream.readable}`) // it is readable, that's good
|
||||||
core.info(`Is the zipUploadStream readable? ${isItReadable}`) // it is readable, that's good
|
core.info(`Is the zipUploadStream closed? ${zipUploadStream.closed}`) // it is not closed, that's good
|
||||||
const isItClosed = zipUploadStream.closed
|
|
||||||
core.info(`Is the zipUploadStream closed? ${isItClosed}`) // it is not closed, that's good
|
|
||||||
core.info(`Is the buffer size appropriate? ${bufferSize}`) // it is not closed, that's good
|
core.info(`Is the buffer size appropriate? ${bufferSize}`) // it is not closed, that's good
|
||||||
core.info(`is the upload stream open? ${uploadStream.closed}`)
|
core.info(`is the upload stream closed? ${uploadStream.closed}`)
|
||||||
|
core.info(`is the upload stream readable? ${uploadStream.readable}`)
|
||||||
try {
|
try {
|
||||||
core.info(
|
core.info(
|
||||||
'1 Even more beginning upload of artifact content to blob storage'
|
'1 Even more beginning upload of artifact content to blob storage'
|
||||||
|
|
Loading…
Reference in New Issue