1
0
Fork 0

Update artifact-tests.yml

pull/1593/head
Rob Herley 2023-12-05 13:51:51 -05:00 committed by GitHub
parent a3053b5cc2
commit c390199be6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 6 deletions

View File

@ -68,15 +68,10 @@ jobs:
const uploadResult = await artifact.create().uploadArtifact(artifactName, fileContents, './') const uploadResult = await artifact.create().uploadArtifact(artifactName, fileContents, './')
console.log(uploadResult) console.log(uploadResult)
const success = uploadResult.success
const size = uploadResult.size const size = uploadResult.size
const id = uploadResult.id const id = uploadResult.id
if (!success) { console.log(`Successfully uploaded artifact ${id}`)
throw new Error('Failed to upload artifact')
} else {
console.log(`Successfully uploaded artifact ${id}`)
}
verify: verify:
runs-on: ubuntu-latest runs-on: ubuntu-latest