mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-07 15:53:14 +08:00
Add cache upload options and pull from latest actions/cache master
This commit is contained in:
17
packages/cache/src/options.ts
vendored
Normal file
17
packages/cache/src/options.ts
vendored
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user