1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-11-28 06:59:15 +01:00

Remove unnecessary debug information

This commit is contained in:
Bassem Dghaidi 2024-11-14 04:39:48 -08:00 committed by GitHub
parent 2eef6f331a
commit 9edb66aa79
4 changed files with 0 additions and 8 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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
View file

@ -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;