1
0
Fork 0

increasing file size limit to 10gb

aparna-ravindra/increase-cache-limit-10gb
aparna-ravindra 2021-10-07 20:38:47 +05:30
parent 27f76dfe1a
commit 1a9d481fea
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ export async function saveCache(
await listTar(archivePath, compressionMethod)
}
const fileSizeLimit = 5 * 1024 * 1024 * 1024 // 5GB per repo limit
const fileSizeLimit = 10 * 1024 * 1024 * 1024 // 5GB per repo limit
const archiveFileSize = utils.getArchiveFileSizeInBytes(archivePath)
core.debug(`File Size: ${archiveFileSize}`)
if (archiveFileSize > fileSizeLimit) {