1
0
Fork 0

Add debug message for uploadResponse

pull/1879/head
John Sudol 2024-11-26 00:39:01 +00:00
parent 8f606682c2
commit 1f087496ca
2 changed files with 3 additions and 2 deletions

View File

@ -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)]

View File

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