Skip to content

Commit

Permalink
gha matrix example
Browse files Browse the repository at this point in the history
  • Loading branch information
juttayaya committed Mar 19, 2024
1 parent 7188668 commit e0a238f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/gha-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ jobs:
name: Step One
run: |
if [[ "${{ matrix.type_a }}" == "type_a_01" ]]; then
echo "FAIL Step One: key:${{ matrix.type_a }}" >> $GITHUB_STEP_SUMMARY
exit 1
core.setFailed("FAIL Step One: key:${{ matrix.type_a }}")
else
echo "Step One: key:${{ matrix.type_a }}" >> $GITHUB_STEP_SUMMARY
fi
Expand All @@ -41,8 +40,7 @@ jobs:
name: Step One
run: |
if [[ "${{ matrix.type_b }}" == "type_b_01" ]]; then
echo "FAIL Step One: key:${{ matrix.type_b }}" >> $GITHUB_STEP_SUMMARY
exit 1
core.setFailed("FAIL Step One: key:${{ matrix.type_b }}")
else
echo "Step One: key:${{ matrix.type_b }}" >> $GITHUB_STEP_SUMMARY
fi
Expand All @@ -66,8 +64,7 @@ jobs:
name: Step One
run: |
if [[ "${{ matrix.type_c }}" == "type_c_01" ]]; then
echo "FAIL Step One: key:${{ matrix.type_c }}" >> $GITHUB_STEP_SUMMARY
exit 1
core.setFailed("FAIL Step One: key:${{ matrix.type_c }}")
else
echo "Step One: key:${{ matrix.type_c }}" >> $GITHUB_STEP_SUMMARY
fi
Expand Down

0 comments on commit e0a238f

Please sign in to comment.