Update checked-in dependencies

This commit is contained in:
github-actions[bot] 2025-03-03 17:25:47 +00:00
parent a8ade63a2f
commit 452ffd6e8e
3120 changed files with 20845 additions and 14941 deletions

View file

@ -405,12 +405,20 @@ function saveCacheV2(paths, key, options, enableCrossOsArchive = false) {
key,
version
};
const response = yield twirpClient.CreateCacheEntry(request);
if (!response.ok) {
let signedUploadUrl;
try {
const response = yield twirpClient.CreateCacheEntry(request);
if (!response.ok) {
throw new Error('Response was not ok');
}
signedUploadUrl = response.signedUploadUrl;
}
catch (error) {
core.debug(`Failed to reserve cache: ${error}`);
throw new ReserveCacheError(`Unable to reserve cache with key ${key}, another job may be creating this cache.`);
}
core.debug(`Attempting to upload cache located at: ${archivePath}`);
yield cacheHttpClient.saveCache(cacheId, archivePath, response.signedUploadUrl, options);
yield cacheHttpClient.saveCache(cacheId, archivePath, signedUploadUrl, options);
const finalizeRequest = {
key,
version,

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
{
"name": "@actions/cache",
"version": "4.0.1",
"version": "4.0.2",
"preview": true,
"description": "Actions cache lib",
"keywords": [