mirror of
https://git.mirrors.martin98.com/https://github.com/actions/cache
synced 2026-04-06 13:43:18 +08:00
Use zstd instead of gzip if available
Add zstd to cache versioning
This commit is contained in:
@@ -19,7 +19,15 @@ export enum Events {
|
||||
PullRequest = "pull_request"
|
||||
}
|
||||
|
||||
export const CacheFilename = "cache.tgz";
|
||||
export enum CacheFilename {
|
||||
Gzip = "cache.tgz",
|
||||
Zstd = "cache.tzst"
|
||||
}
|
||||
|
||||
export enum CompressionMethod {
|
||||
Gzip = "gzip",
|
||||
Zstd = "zstd"
|
||||
}
|
||||
|
||||
// Socket timeout in milliseconds during download. If no traffic is received
|
||||
// over the socket during this period, the socket is destroyed and the download
|
||||
|
||||
Reference in New Issue
Block a user