mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-03-20 05:02:38 +08:00
updating upload try catch to always call cleartimeout
This commit is contained in:
@@ -81,6 +81,9 @@ export async function uploadZipToBlobStorage(
|
|||||||
}
|
}
|
||||||
|
|
||||||
throw error
|
throw error
|
||||||
|
} finally {
|
||||||
|
// clear the progress timeout when upload completes
|
||||||
|
clearTimeout(chunkTimer(timeoutDuration))
|
||||||
}
|
}
|
||||||
|
|
||||||
core.info('Finished uploading artifact content to blob storage!')
|
core.info('Finished uploading artifact content to blob storage!')
|
||||||
|
|||||||
Reference in New Issue
Block a user