mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-11-18 16:31:06 +08:00
updating upload try catch to always call cleartimeout
This commit is contained in:
parent
425f05e29d
commit
18a8a22c65
@ -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!')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user