mirror of
				https://kkgithub.com/actions/cache.git
				synced 2025-11-04 04:31:49 +08:00 
			
		
		
		
	Chunked Cache Upload APIs (#128)
* Initial pass at chunked upload apis * Fix cacheEntry type * Linting * Fix download cache entry tests * Linting tests * Pull in fixes from testing branch * Fix typo in ReserveCacheResponse * Add test convering reserve cache failure * Add retries to upload chunk * PR feedback * Format default chunk size * Remove responses array
This commit is contained in:
		
							
								
								
									
										13
									
								
								src/contracts.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										13
									
								
								src/contracts.d.ts
									
									
									
									
										vendored
									
									
								
							@ -4,3 +4,16 @@ export interface ArtifactCacheEntry {
 | 
			
		||||
    creationTime?: string;
 | 
			
		||||
    archiveLocation?: string;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export interface CommitCacheRequest {
 | 
			
		||||
    size: number;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export interface ReserveCacheRequest {
 | 
			
		||||
    key: string;
 | 
			
		||||
    version?: string;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export interface ReserveCacheResponse {
 | 
			
		||||
    cacheId: number;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user