Initial commit to create @actions/cache package

This commit is contained in:
Aiqiao Yan committed 2020-05-12 12:02:18 -04:00
commit ab4976ef10
18 files changed
+1754

No files matched your search

+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
}