Skip to content

Commit

Permalink
Try step.id.outcome
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger committed Oct 16, 2024
1 parent 5f892fe commit ce1382d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ jobs:
- name: When on master, attest result to Kosli
if: success() || failure()
continue-on-error: true
env:
KOSLI_COMPLIANT2: $([ "${{ steps.something.outcome }}" == 'success' ] && echo true || echo false)
run: |
set +e
# Here we do 'kosli attest ..."
Expand Down

0 comments on commit ce1382d

Please sign in to comment.