mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-22 03:29:06 +08:00
adding readable check
This commit is contained in:
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…
x
Reference in New Issue
Block a user