Skip to content

Commit

Permalink
[artifact] exempt .tar.zst files from compression (#1184)
Browse files Browse the repository at this point in the history
* [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
  • Loading branch information
lucacasonato committed Jan 5, 2023
1 parent b2d865f commit 2c09aae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/artifact/src/internal/upload-gzip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ const gzipExemptFileExtensions = [
'.tar.lz',
'.tar.gz',
'.tar.bz2',
'.tar.zst',
'.tar.zstd',
'.tzst',
'.7z'
]

Expand Down

0 comments on commit 2c09aae

Please sign in to comment.