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, './')
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