Add cache upload options and pull from latest actions/cache master

This commit is contained in:
Aiqiao Yan
2020-05-12 12:37:03 -04:00
parent c534ad2cbd
commit 1413cd0e32
7 changed files with 309 additions and 67 deletions

17
packages/cache/src/options.ts vendored Normal file
View File

@@ -0,0 +1,17 @@
/**
* Options to control cache upload
*/
export interface UploadOptions {
/**
* Number of parallel cache upload
*
* @default 4
*/
uploadConcurrency?: number
/**
* Maximum chunk size for cache upload
*
* @default 32MB
*/
uploadChunkSize?: number
}