mirror of https://github.com/actions/toolkit
adjusts chunk size
parent
8400948874
commit
d0787ac29d
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "github-actions.warp-cache",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.6",
|
||||
"preview": true,
|
||||
"description": "Github action to use WarpBuild's in-house cache offering",
|
||||
"keywords": [
|
||||
|
|
|
@ -310,7 +310,8 @@ export async function downloadCacheMultipartGCP(
|
|||
|
||||
const transferManager = new TransferManager(storage.bucket(bucketName))
|
||||
await transferManager.downloadFileInChunks(objectName, {
|
||||
destination: archivePath
|
||||
destination: archivePath,
|
||||
chunkSizeBytes: 8 * 1024 * 1024 // 8MB chunk size
|
||||
})
|
||||
} catch (error) {
|
||||
core.debug(`Failed to download cache: ${error}`)
|
||||
|
|
Loading…
Reference in New Issue