Skip to content

Commit

Permalink
Aggregate all matrix execution in one status
Browse files Browse the repository at this point in the history
  • Loading branch information
xjunior authored Oct 8, 2024
1 parent e403d3d commit ada5599
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ruby-gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,20 @@ jobs:
gemfile: ${{ matrix.gemfile }}
bundler: ${{ matrix.bundler }}

all_builds:
if: ${{ always() }}
runs-on: ubuntu-latest
name: All Builds
needs: [build]
steps:
- run: |
result="${{ needs.build.result }}"
if [[ $result == "success" || $result == "skipped" ]]; then
exit 0
else
exit 1
fi
license-compliance:
uses: ./.github/workflows/license-compliance.yml
with:
Expand Down

0 comments on commit ada5599

Please sign in to comment.