mirror of https://github.com/actions/toolkit
Add debug message for uploadResponse
parent
8f606682c2
commit
1f087496ca
|
@ -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 filePath = 'node_modules'
|
||||||
const primaryKey = 'Linux-node-bb828da54c148048dd17899ba9fda624811cfb43'
|
const primaryKey = 'Linux-node-bb828da54c148048dd17899ba9fda624811cfb43'
|
||||||
const cachePaths = [path.resolve(filePath)]
|
const cachePaths = [path.resolve(filePath)]
|
||||||
|
|
|
@ -518,7 +518,8 @@ async function saveCacheV2(
|
||||||
}
|
}
|
||||||
|
|
||||||
core.debug(`Attempting to upload cache located at: ${archivePath}`)
|
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 = {
|
const finalizeRequest: FinalizeCacheEntryUploadRequest = {
|
||||||
key,
|
key,
|
||||||
|
|
Loading…
Reference in New Issue