mirror of
https://github.com/actions/cache.git
synced 2025-04-20 02:56:45 +00:00
Use zstd instead of gzip if available
Add zstd to cache versioning
This commit is contained in:
parent
9ceee97d99
commit
97f7baa910
14 changed files with 523 additions and 201 deletions
6
src/contracts.d.ts
vendored
6
src/contracts.d.ts
vendored
|
@ -1,3 +1,5 @@
|
|||
import { CompressionMethod } from "./constants";
|
||||
|
||||
export interface ArtifactCacheEntry {
|
||||
cacheKey?: string;
|
||||
scope?: string;
|
||||
|
@ -17,3 +19,7 @@ export interface ReserveCacheRequest {
|
|||
export interface ReserveCacheResponse {
|
||||
cacheId: number;
|
||||
}
|
||||
|
||||
export interface CacheOptions {
|
||||
compressionMethod?: CompressionMethod;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue