diff --git a/__tests__/upload-artifact.test.ts b/__tests__/upload-artifact.test.ts index 59d9ed8..c98114d 100644 --- a/__tests__/upload-artifact.test.ts +++ b/__tests__/upload-artifact.test.ts @@ -425,7 +425,7 @@ describe('upload-artifact', () => { options.onProgress({loadedBytes: 100}) resolve() - }, 61000) // Delay longer than your timeout + }, 31000) // Delay longer than your timeout }) } ) diff --git a/src/internal/upload/blob-upload.ts b/src/internal/upload/blob-upload.ts index 6558f60..88ed54c 100644 --- a/src/internal/upload/blob-upload.ts +++ b/src/internal/upload/blob-upload.ts @@ -30,7 +30,7 @@ export async function uploadZipToBlobStorage( const bufferSize = getUploadChunkSize() const blobClient = new BlobClient(authenticatedUploadURL) const blockBlobClient = blobClient.getBlockBlobClient() - const timeoutDuration = 600000 // 30 seconds + const timeoutDuration = 300000 // 30 seconds core.debug( `Uploading artifact zip to blob storage with maxConcurrency: ${maxConcurrency}, bufferSize: ${bufferSize}`