From c390199be6c889df82e741b932657f08e54d00aa Mon Sep 17 00:00:00 2001 From: Rob Herley Date: Tue, 5 Dec 2023 13:51:51 -0500 Subject: [PATCH] Update artifact-tests.yml --- .github/workflows/artifact-tests.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/artifact-tests.yml b/.github/workflows/artifact-tests.yml index c6988efe..6c1d8bc2 100644 --- a/.github/workflows/artifact-tests.yml +++ b/.github/workflows/artifact-tests.yml @@ -68,15 +68,10 @@ jobs: const uploadResult = await artifact.create().uploadArtifact(artifactName, fileContents, './') console.log(uploadResult) - const success = uploadResult.success const size = uploadResult.size const id = uploadResult.id - if (!success) { - throw new Error('Failed to upload artifact') - } else { - console.log(`Successfully uploaded artifact ${id}`) - } + console.log(`Successfully uploaded artifact ${id}`) verify: runs-on: ubuntu-latest