mirror of https://github.com/actions/toolkit
updating timeout
parent
4fc93ec115
commit
2ed9516172
|
@ -425,7 +425,7 @@ describe('upload-artifact', () => {
|
||||||
options.onProgress({loadedBytes: 100})
|
options.onProgress({loadedBytes: 100})
|
||||||
|
|
||||||
resolve()
|
resolve()
|
||||||
}, 31000) // Delay longer than your timeout
|
}, 61000) // Delay longer than your timeout
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
|
@ -30,7 +30,7 @@ export async function uploadZipToBlobStorage(
|
||||||
const bufferSize = getUploadChunkSize()
|
const bufferSize = getUploadChunkSize()
|
||||||
const blobClient = new BlobClient(authenticatedUploadURL)
|
const blobClient = new BlobClient(authenticatedUploadURL)
|
||||||
const blockBlobClient = blobClient.getBlockBlobClient()
|
const blockBlobClient = blobClient.getBlockBlobClient()
|
||||||
const timeoutDuration = 300000 // 30 seconds
|
const timeoutDuration = 600000 // 30 seconds
|
||||||
|
|
||||||
core.debug(
|
core.debug(
|
||||||
`Uploading artifact zip to blob storage with maxConcurrency: ${maxConcurrency}, bufferSize: ${bufferSize}`
|
`Uploading artifact zip to blob storage with maxConcurrency: ${maxConcurrency}, bufferSize: ${bufferSize}`
|
||||||
|
|
Loading…
Reference in New Issue