Skip to content

Commit

Permalink
updating upload try catch to always call cleartimeout
Browse files Browse the repository at this point in the history
  • Loading branch information
vmjoseph committed Apr 9, 2024
1 parent 425f05e commit 18a8a22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/artifact/src/internal/upload/blob-upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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!')
Expand Down

0 comments on commit 18a8a22

Please sign in to comment.