mirror of
https://gitea.com/actions/cache.git
synced 2025-08-07 19:38:04 +08:00
Use zstd instead of gzip if available
Add zstd to cache versioning
This commit is contained in:
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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user