1
0
Fork 0
mirror of https://github.com/actions/toolkit synced 2025-05-09 16:43:02 +00:00
This commit is contained in:
Bethany 2023-08-23 07:28:17 -07:00
parent b4f8e602b2
commit 88f749f686
2 changed files with 2 additions and 3 deletions

View file

@ -97,7 +97,7 @@ export async function uploadArtifact(
workflowRunBackendId: backendIds.workflowRunBackendId,
workflowJobRunBackendId: backendIds.workflowJobRunBackendId,
name,
size: uploadResult.uploadSize!.toString()
size: uploadResult.uploadSize ? uploadResult.uploadSize.toString() : '0'
}
if (uploadResult.md5Hash) {