mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-02 03:13:18 +08:00
extra log line for debug
This commit is contained in:
@@ -26,6 +26,10 @@ export async function createZipUploadStream(
|
|||||||
uploadSpecification: UploadZipSpecification[],
|
uploadSpecification: UploadZipSpecification[],
|
||||||
compressionLevel: number = DEFAULT_COMPRESSION_LEVEL
|
compressionLevel: number = DEFAULT_COMPRESSION_LEVEL
|
||||||
): Promise<ZipUploadStream> {
|
): Promise<ZipUploadStream> {
|
||||||
|
core.debug(
|
||||||
|
`Creating Artifact archive with compressionLevel: ${compressionLevel}`
|
||||||
|
)
|
||||||
|
|
||||||
const zip = archiver.create('zip', {
|
const zip = archiver.create('zip', {
|
||||||
highWaterMark: getUploadChunkSize(),
|
highWaterMark: getUploadChunkSize(),
|
||||||
zlib: {level: compressionLevel}
|
zlib: {level: compressionLevel}
|
||||||
|
|||||||
Reference in New Issue
Block a user