Add debug message for uploadResponse
This commit is contained in:
+1
-1
@@ -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)]
|
||||||
|
|||||||
Vendored
+2
-1
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user