mirror of
https://github.com/actions/toolkit
synced 2025-05-09 00:22:56 +00:00
Add debug message for uploadResponse
This commit is contained in:
parent
8f606682c2
commit
1f087496ca
2 changed files with 3 additions and 2 deletions
2
packages/cache/__tests__/saveCacheV2.test.ts
vendored
2
packages/cache/__tests__/saveCacheV2.test.ts
vendored
|
@ -56,7 +56,7 @@ test('save with missing input should fail', async () => {
|
|||
)
|
||||
})
|
||||
|
||||
test('save with large cache outputs should fail using v2 saveCache', async () => {
|
||||
test('save with large cache outputs should fail using', async () => {
|
||||
const filePath = 'node_modules'
|
||||
const primaryKey = 'Linux-node-bb828da54c148048dd17899ba9fda624811cfb43'
|
||||
const cachePaths = [path.resolve(filePath)]
|
||||
|
|
3
packages/cache/src/cache.ts
vendored
3
packages/cache/src/cache.ts
vendored
|
@ -518,7 +518,8 @@ async function saveCacheV2(
|
|||
}
|
||||
|
||||
core.debug(`Attempting to upload cache located at: ${archivePath}`)
|
||||
await uploadCacheFile(response.signedUploadUrl, archivePath)
|
||||
const uploadResponse = await uploadCacheFile(response.signedUploadUrl, archivePath)
|
||||
core.debug(`Download response status: ${uploadResponse._response.status}`)
|
||||
|
||||
const finalizeRequest: FinalizeCacheEntryUploadRequest = {
|
||||
key,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue