allow larger artifacts

This commit is contained in:
Lachlan Miller
2021-08-25 11:16:50 +10:00
parent 7e8227c58b
commit 7e6ea26b6f

View File

@@ -73,7 +73,7 @@ const checkZipSize = function (zipPath) {
const zipSize = filesize(stats.size, { round: 0 })
console.log(`zip file size ${zipSize}`)
const MAX_ALLOWED_SIZE_MB = os.platform() === 'win32' ? 265 : 230
const MAX_ALLOWED_SIZE_MB = os.platform() === 'win32' ? 295 : 260
const MAX_ZIP_FILE_SIZE = megaBytes(MAX_ALLOWED_SIZE_MB)
if (stats.size > MAX_ZIP_FILE_SIZE) {