Skip to content

Commit

Permalink
run static-binary check on-success of CI
Browse files Browse the repository at this point in the history
  • Loading branch information
shivaraj-bh committed Aug 6, 2024
1 parent b601dc3 commit 05130df
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/static-binary-check.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
name: "Static binary"
on:
workflow_run:
workflows: ["CI"]
types:
- completed
workflows: [CI]
types: [completed]

jobs:
on-success:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- run: echo 'The triggering workflow passed'
on-failure:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
steps:
- run: echo 'The triggering workflow failed'
check:
needs: on-success
runs-on: ${{ matrix.system }}
strategy:
matrix:
Expand Down

0 comments on commit 05130df

Please sign in to comment.