mirror of https://github.com/actions/toolkit
adds crc32c validation for files
parent
fc0eaea80a
commit
ef01eae26e
|
@ -313,7 +313,7 @@ export async function downloadCacheMultipartGCP(
|
||||||
await transferManager.downloadFileInChunks(objectName, {
|
await transferManager.downloadFileInChunks(objectName, {
|
||||||
destination: archivePath,
|
destination: archivePath,
|
||||||
noReturnData: true,
|
noReturnData: true,
|
||||||
chunkSizeBytes: 1024 * 1024 * 8
|
validation: 'crc32c'
|
||||||
})
|
})
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
core.debug(`Failed to download cache: ${error}`)
|
core.debug(`Failed to download cache: ${error}`)
|
||||||
|
|
Loading…
Reference in New Issue