From 2c09aaef3b6ae96f1d7b33c63e568440e1eeee38 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Thu, 5 Jan 2023 22:00:03 +0100 Subject: [PATCH] [artifact] exempt .tar.zst files from compression (#1184) * [artifact] exempt .tar.zst files from compression These files are already compressed with zstd - no need to attempt re-compression. * fix missing comma * fmt * Update upload-gzip.ts --- packages/artifact/src/internal/upload-gzip.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/artifact/src/internal/upload-gzip.ts b/packages/artifact/src/internal/upload-gzip.ts index 8fa25bbc..279a67ee 100644 --- a/packages/artifact/src/internal/upload-gzip.ts +++ b/packages/artifact/src/internal/upload-gzip.ts @@ -14,6 +14,9 @@ const gzipExemptFileExtensions = [ '.tar.lz', '.tar.gz', '.tar.bz2', + '.tar.zst', + '.tar.zstd', + '.tzst', '.7z' ]