mirror of
https://gitee.com/actions-mirror/cache.git
synced 2024-11-27 13:00:42 +08:00
Remove unnecessary debug information
This commit is contained in:
parent
2eef6f331a
commit
9edb66aa79
2
dist/restore-only/index.js
vendored
2
dist/restore-only/index.js
vendored
@ -12756,9 +12756,7 @@ function restoreCachev2(paths, primaryKey, restoreKeys, options, enableCrossOsAr
|
|||||||
restoreKeys,
|
restoreKeys,
|
||||||
version: utils.getCacheVersion(paths, compressionMethod, enableCrossOsArchive)
|
version: utils.getCacheVersion(paths, compressionMethod, enableCrossOsArchive)
|
||||||
};
|
};
|
||||||
core.debug(`GetCacheEntryDownloadURLRequest: ${JSON.stringify(twirpClient)}`);
|
|
||||||
const response = yield twirpClient.GetCacheEntryDownloadURL(request);
|
const response = yield twirpClient.GetCacheEntryDownloadURL(request);
|
||||||
core.debug(`GetCacheEntryDownloadURLResponse: ${JSON.stringify(response)}`);
|
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
core.warning(`Cache not found for keys: ${keys.join(', ')}`);
|
core.warning(`Cache not found for keys: ${keys.join(', ')}`);
|
||||||
return undefined;
|
return undefined;
|
||||||
|
2
dist/restore/index.js
vendored
2
dist/restore/index.js
vendored
@ -12756,9 +12756,7 @@ function restoreCachev2(paths, primaryKey, restoreKeys, options, enableCrossOsAr
|
|||||||
restoreKeys,
|
restoreKeys,
|
||||||
version: utils.getCacheVersion(paths, compressionMethod, enableCrossOsArchive)
|
version: utils.getCacheVersion(paths, compressionMethod, enableCrossOsArchive)
|
||||||
};
|
};
|
||||||
core.debug(`GetCacheEntryDownloadURLRequest: ${JSON.stringify(twirpClient)}`);
|
|
||||||
const response = yield twirpClient.GetCacheEntryDownloadURL(request);
|
const response = yield twirpClient.GetCacheEntryDownloadURL(request);
|
||||||
core.debug(`GetCacheEntryDownloadURLResponse: ${JSON.stringify(response)}`);
|
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
core.warning(`Cache not found for keys: ${keys.join(', ')}`);
|
core.warning(`Cache not found for keys: ${keys.join(', ')}`);
|
||||||
return undefined;
|
return undefined;
|
||||||
|
2
dist/save-only/index.js
vendored
2
dist/save-only/index.js
vendored
@ -12756,9 +12756,7 @@ function restoreCachev2(paths, primaryKey, restoreKeys, options, enableCrossOsAr
|
|||||||
restoreKeys,
|
restoreKeys,
|
||||||
version: utils.getCacheVersion(paths, compressionMethod, enableCrossOsArchive)
|
version: utils.getCacheVersion(paths, compressionMethod, enableCrossOsArchive)
|
||||||
};
|
};
|
||||||
core.debug(`GetCacheEntryDownloadURLRequest: ${JSON.stringify(twirpClient)}`);
|
|
||||||
const response = yield twirpClient.GetCacheEntryDownloadURL(request);
|
const response = yield twirpClient.GetCacheEntryDownloadURL(request);
|
||||||
core.debug(`GetCacheEntryDownloadURLResponse: ${JSON.stringify(response)}`);
|
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
core.warning(`Cache not found for keys: ${keys.join(', ')}`);
|
core.warning(`Cache not found for keys: ${keys.join(', ')}`);
|
||||||
return undefined;
|
return undefined;
|
||||||
|
2
dist/save/index.js
vendored
2
dist/save/index.js
vendored
@ -12756,9 +12756,7 @@ function restoreCachev2(paths, primaryKey, restoreKeys, options, enableCrossOsAr
|
|||||||
restoreKeys,
|
restoreKeys,
|
||||||
version: utils.getCacheVersion(paths, compressionMethod, enableCrossOsArchive)
|
version: utils.getCacheVersion(paths, compressionMethod, enableCrossOsArchive)
|
||||||
};
|
};
|
||||||
core.debug(`GetCacheEntryDownloadURLRequest: ${JSON.stringify(twirpClient)}`);
|
|
||||||
const response = yield twirpClient.GetCacheEntryDownloadURL(request);
|
const response = yield twirpClient.GetCacheEntryDownloadURL(request);
|
||||||
core.debug(`GetCacheEntryDownloadURLResponse: ${JSON.stringify(response)}`);
|
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
core.warning(`Cache not found for keys: ${keys.join(', ')}`);
|
core.warning(`Cache not found for keys: ${keys.join(', ')}`);
|
||||||
return undefined;
|
return undefined;
|
||||||
|
Loading…
Reference in New Issue
Block a user