File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -324,8 +324,8 @@ export class GitHubActionsCache implements Cache {
324324 ) : Promise < boolean > {
325325 const url = new URL ( uploadUrl ) ;
326326 // Reference:
327- // https://github. com/actions/toolkit/blob/500d0b42fee2552ae9eeb5933091fe2fbf14e72d/packages/cache/src/options.ts#L59
328- const maxChunkSize = 32 * 1024 * 1024 ;
327+ // https://learn.microsoft. com/en-us/rest/api/storageservices/append-block?tabs=microsoft-entra-id#remarks
328+ const maxChunkSize = 100 * 1024 * 1024 ;
329329 // TODO: update to TypeScript 5.2 and use the new `using` syntax for the
330330 // budget object.
331331 const reservation = await fileBudget . reserve ( ) ;
@@ -352,7 +352,7 @@ export class GitHubActionsCache implements Cache {
352352 headers : {
353353 'content-type' : 'application/octet-stream' ,
354354 'content-length' : `${ chunkSize } ` ,
355- 'x-ms-blob-type' : 'BlockBlob ' ,
355+ 'x-ms-blob-type' : 'AppendBlob ' ,
356356 authorization : undefined ,
357357 } ,
358358 } ;
You can’t perform that action at this time.
0 commit comments