Initial commit to create @actions/cache package

This commit is contained in:
Aiqiao Yan
2020-05-12 12:02:18 -04:00
parent 0471ed4ad7
commit 932779cf58
19 changed files with 1763 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
import {CompressionMethod} from './constants'
export interface ArtifactCacheEntry {
cacheKey?: string
scope?: string
creationTime?: string
archiveLocation?: string
}
export interface CommitCacheRequest {
size: number
}
export interface ReserveCacheRequest {
key: string
version?: string
}
export interface ReserveCacheResponse {
cacheId: number
}
export interface CacheOptions {
compressionMethod?: CompressionMethod
}