From b0b29e1e6f6a575bd0a31b62fb072fbba5bc95c7 Mon Sep 17 00:00:00 2001 From: Vallie Joseph Date: Tue, 9 Apr 2024 21:05:58 +0000 Subject: [PATCH] updating upload try catch to always call cleartimeout --- src/internal/upload/blob-upload.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/internal/upload/blob-upload.ts b/src/internal/upload/blob-upload.ts index f7c0fcf..edf02fc 100644 --- a/src/internal/upload/blob-upload.ts +++ b/src/internal/upload/blob-upload.ts @@ -81,6 +81,9 @@ export async function uploadZipToBlobStorage( } throw error + } finally { + // clear the progress timeout when upload completes + clearTimeout(chunkTimer(timeoutDuration)) } core.info('Finished uploading artifact content to blob storage!')