Skip to content

Commit

Permalink
added composite action
Browse files Browse the repository at this point in the history
  • Loading branch information
Bullrich committed Apr 22, 2024
1 parent 479c46d commit 811cb4c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/cmd-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,22 @@ jobs:
env:
CMD: ${{ steps.cmd.outputs.commands }}

cmd-composite:
needs: [cmd-check]
continue-on-error: true
# We set the current machine here (to differ between ours and generic ones)
runs-on: ubuntu-latest
strategy:
matrix:
command: ${{ fromJson(needs.cmd-check.outputs.commands) }}
container:
image: node:20
steps:
- uses: paritytech/cmd-action/run@parse-comment
with:
branch: ${{ needs.cmd-check.outputs.branch }}
command: ${{ matrix.command }}

cmd:
needs: [cmd-check]
continue-on-error: true
Expand Down

0 comments on commit 811cb4c

Please sign in to comment.