@actions/cache
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -145,5 +145,8 @@ "use strict"; | ||
}; | ||
yield requestUtils_1.retryHttpClientResponse(`uploadChunk (start: ${start}, end: ${end})`, () => __awaiter(this, void 0, void 0, function* () { | ||
const uploadChunkResponse = yield requestUtils_1.retryHttpClientResponse(`uploadChunk (start: ${start}, end: ${end})`, () => __awaiter(this, void 0, void 0, function* () { | ||
return httpClient.sendStream('PATCH', resourceUrl, openStream(), additionalHeaders); | ||
})); | ||
if (!requestUtils_1.isSuccessStatusCode(uploadChunkResponse.message.statusCode)) { | ||
throw new Error(`Cache service responded with ${uploadChunkResponse.message.statusCode} during upload chunk.`); | ||
} | ||
}); | ||
@@ -150,0 +153,0 @@ } |
{ | ||
"name": "@actions/cache", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"preview": true, | ||
@@ -40,3 +40,3 @@ "description": "Actions cache lib", | ||
"dependencies": { | ||
"@actions/core": "^1.2.4", | ||
"@actions/core": "^1.2.6", | ||
"@actions/exec": "^1.0.1", | ||
@@ -43,0 +43,0 @@ "@actions/glob": "^0.1.0", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
86447
1279
Updated@actions/core@^1.2.6