Compare commits

..

2 Commits

Author SHA1 Message Date
Reuf Rujevic
3fa45421c8 Merge 6f21acf8e4 into 2d8d0d1c9b 2022-03-22 10:53:14 +01:00
Reuf Rujevic
6f21acf8e4 Create Sjenica1
Authorized mit meine Account Sjenica1 github.com reufrujevic750@gmail.com
2022-03-22 10:53:06 +01:00
5 changed files with 13 additions and 7313 deletions

1
Sjenica1 Normal file
View File

@@ -0,0 +1 @@

View File

@@ -5519,8 +5519,7 @@ function downloadCacheStorageSDK(archiveLocation, archivePath, options) {
//
// 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
// ~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 maxSegmentSize = buffer.constants.MAX_LENGTH;
const downloadProgress = new DownloadProgress(contentLength);
const fd = fs.openSync(archivePath, 'w');
try {

3
dist/save/index.js vendored
View File

@@ -5519,8 +5519,7 @@ function downloadCacheStorageSDK(archiveLocation, archivePath, options) {
//
// 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
// ~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 maxSegmentSize = buffer.constants.MAX_LENGTH;
const downloadProgress = new DownloadProgress(contentLength);
const fd = fs.openSync(archivePath, 'w');
try {

7317
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

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