Skip to content

Commit

Permalink
adding step summary and validation
Browse files Browse the repository at this point in the history
  • Loading branch information
djredman99 authored Nov 2, 2024
1 parent b361187 commit ccd32d6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/14-build-attestations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,17 @@ jobs:
with:
# Specify the path to the folder you want to attest
subject-path: staging/MyClassLibrary.dll

# Lets validate the attestation
- name: Validate Attestation
id: validate
run: gh attestation verify staging/MyClassLibrary.dll -R djredman99/githhub-intro-to-actions-demos

- name: Output Attestation
if: steps.validate.outcome == 'success'
run: echo "The attestation is VERIFIED" >> GITHUB_STEP_SUMMARY

- name: Output Attestation FAILED
if: steps.validate.outcome == 'failure'
run: echo "The attestation is NOT VERIFIED" >> GITHUB_STEP_SUMMARY

0 comments on commit ccd32d6

Please sign in to comment.