mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-01-04 13:42:56 +08:00
Remove unnecessary debug information
This commit is contained in:
parent
c3e354da23
commit
ea4bf4810a
5
packages/cache/src/cache.ts
vendored
5
packages/cache/src/cache.ts
vendored
@ -253,12 +253,8 @@ async function restoreCachev2(
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
core.debug(
|
|
||||||
`GetCacheEntryDownloadURLRequest: ${JSON.stringify(twirpClient)}`
|
|
||||||
)
|
|
||||||
const response: GetCacheEntryDownloadURLResponse =
|
const response: GetCacheEntryDownloadURLResponse =
|
||||||
await twirpClient.GetCacheEntryDownloadURL(request)
|
await 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(', ')}`)
|
||||||
@ -277,7 +273,6 @@ async function restoreCachev2(
|
|||||||
utils.getCacheFileName(compressionMethod)
|
utils.getCacheFileName(compressionMethod)
|
||||||
)
|
)
|
||||||
core.debug(`Archive path: ${archivePath}`)
|
core.debug(`Archive path: ${archivePath}`)
|
||||||
|
|
||||||
core.debug(`Starting download of artifact to: ${archivePath}`)
|
core.debug(`Starting download of artifact to: ${archivePath}`)
|
||||||
|
|
||||||
await DownloadCacheFile(response.signedDownloadUrl, archivePath)
|
await DownloadCacheFile(response.signedDownloadUrl, archivePath)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user