Compare commits

...

11 Commits
main ... v3_fix

Author SHA1 Message Date
Ashwin Sangem f5b55ae568
Delete a 2022-03-24 16:30:32 +05:30
Ashwin Sangem 2387ae8f10
Add files via upload 2022-03-24 16:30:14 +05:30
Ashwin Sangem 875b52c705
Delete index.js 2022-03-24 16:29:36 +05:30
Ashwin Sangem 97ba7aa16d
Create a 2022-03-24 16:29:20 +05:30
Ashwin Sangem 81375c4b58
Delete a 2022-03-24 16:28:59 +05:30
Ashwin Sangem 9716b96acd
Add files via upload 2022-03-24 16:28:40 +05:30
Ashwin Sangem eeff95f289
Create a 2022-03-24 16:27:55 +05:30
Ashwin Sangem 8584e116c7
Delete index.js 2022-03-24 16:26:43 +05:30
Ashwin Sangem 0c44ddbd87
Add files via upload 2022-03-24 16:25:51 +05:30
Ashwin Sangem 8de84b9d78
Delete package-lock.json 2022-03-24 16:25:13 +05:30
Ashwin Sangem 128caf4219
Update package.json 2022-03-24 16:24:14 +05:30
4 changed files with 7313 additions and 12 deletions

View File

@ -5519,7 +5519,8 @@ function downloadCacheStorageSDK(archiveLocation, archivePath, options) {
// //
// If the file exceeds the buffer maximum length (~1 GB on 32-bit systems and ~2 GB // If the file exceeds the buffer maximum length (~1 GB on 32-bit systems and ~2 GB
// on 64-bit systems), split the download into multiple segments // on 64-bit systems), split the download into multiple segments
const maxSegmentSize = buffer.constants.MAX_LENGTH; // ~2 GB = 2147483647, beyond this, we start getting out of range error. So, capping it accordingly.
const maxSegmentSize = Math.min(2147483647, buffer.constants.MAX_LENGTH);
const downloadProgress = new DownloadProgress(contentLength); const downloadProgress = new DownloadProgress(contentLength);
const fd = fs.openSync(archivePath, 'w'); const fd = fs.openSync(archivePath, 'w');
try { try {

3
dist/save/index.js vendored
View File

@ -5519,7 +5519,8 @@ function downloadCacheStorageSDK(archiveLocation, archivePath, options) {
// //
// If the file exceeds the buffer maximum length (~1 GB on 32-bit systems and ~2 GB // If the file exceeds the buffer maximum length (~1 GB on 32-bit systems and ~2 GB
// on 64-bit systems), split the download into multiple segments // on 64-bit systems), split the download into multiple segments
const maxSegmentSize = buffer.constants.MAX_LENGTH; // ~2 GB = 2147483647, beyond this, we start getting out of range error. So, capping it accordingly.
const maxSegmentSize = Math.min(2147483647, buffer.constants.MAX_LENGTH);
const downloadProgress = new DownloadProgress(contentLength); const downloadProgress = new DownloadProgress(contentLength);
const fd = fs.openSync(archivePath, 'w'); const fd = fs.openSync(archivePath, 'w');
try { try {

7317
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -23,7 +23,7 @@
"author": "GitHub", "author": "GitHub",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@actions/cache": "^1.0.10", "@actions/cache": "file:actions-cache-1.0.10.tgz",
"@actions/core": "^1.2.6", "@actions/core": "^1.2.6",
"@actions/exec": "^1.1.1", "@actions/exec": "^1.1.1",
"@actions/io": "^1.1.2" "@actions/io": "^1.1.2"