mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-22 03:29:06 +08:00
adding closed check
This commit is contained in:
parent
077846ed34
commit
73f526b642
@ -53,7 +53,9 @@ export async function uploadZipToBlobStorage(
|
||||
|
||||
core.info('Beginning upload of artifact content to blob storage')
|
||||
const isItReadable = zipUploadStream.readable
|
||||
core.info(`Is the zipUploadStream readable? ${isItReadable}`)
|
||||
core.info(`Is the zipUploadStream readable? ${isItReadable}`) // it is readable, that's good
|
||||
const isItClosed = zipUploadStream.closed
|
||||
core.info(`Is the zipUploadStream closed? ${isItClosed}`) // it is not closed, that's good
|
||||
try {
|
||||
await blockBlobClient.uploadStream(
|
||||
uploadStream,
|
||||
|
Loading…
x
Reference in New Issue
Block a user