mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-22 03:29:06 +08:00
adding finalize
This commit is contained in:
parent
9299663297
commit
b1f55c6942
@ -72,12 +72,10 @@ export async function createZipUploadStream(
|
||||
core.debug(
|
||||
`Zip read high watermark value ${zipUploadStream.readableHighWaterMark}`
|
||||
)
|
||||
await Promise.all(fileUploadPromesses).then(() => {
|
||||
zip.finalize()
|
||||
await Promise.all(fileUploadPromesses)
|
||||
zip.finalize()
|
||||
|
||||
return zipUploadStream
|
||||
})
|
||||
return Promise.reject(zipUploadStream)
|
||||
return zipUploadStream
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
|
Loading…
x
Reference in New Issue
Block a user