Adds input for upload chunk size
This commit is contained in:
1 parent
d606e039ae
commit
a6f1f4b32e
10 files changed
+84
-11
No files matched your search
+3
-1
@@ -41,7 +41,9 @@ async function run(): Promise<void> {
|
||||
});
|
||||
|
||||
try {
|
||||
await cache.saveCache(cachePaths, primaryKey);
|
||||
await cache.saveCache(cachePaths, primaryKey, {
|
||||
uploadChunkSize: utils.getInputAsInt(Inputs.UploadChunkSize)
|
||||
});
|
||||
} catch (error) {
|
||||
if (error.name === cache.ValidationError.name) {
|
||||
throw error;
|
||||
|
||||
Reference in new issue
Block a user