mirror of https://github.com/actions/toolkit
adding readable check
parent
180b75bf01
commit
077846ed34
|
@ -52,7 +52,8 @@ 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? ${isItReadable}`)
|
||||||
try {
|
try {
|
||||||
await blockBlobClient.uploadStream(
|
await blockBlobClient.uploadStream(
|
||||||
uploadStream,
|
uploadStream,
|
||||||
|
|
Loading…
Reference in New Issue