mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-05-01 21:58:05 +08:00
defaulting compression level
This commit is contained in:
@@ -30,7 +30,7 @@ export async function createZipUploadStream(
|
||||
`Creating Artifact archive with compressionLevel: ${compressionLevel}`
|
||||
)
|
||||
const zlibOptions = {
|
||||
zlib: {level: compressionLevel, bufferSize: getUploadChunkSize()}
|
||||
zlib: {level: DEFAULT_COMPRESSION_LEVEL, bufferSize: getUploadChunkSize()}
|
||||
}
|
||||
const zip = new ZipStream.default(zlibOptions)
|
||||
// register callbacks for various events during the zip lifecycle
|
||||
|
||||
Reference in New Issue
Block a user