Skip to content

Commit 7778ae6

Browse files
authored
build: add status check for matrix strategies (#323)
Signed-off-by: Lídia Tarcza <100163235+diatrcz@users.noreply.github.com>
1 parent 8fdf929 commit 7778ae6

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/build.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,21 @@ jobs:
6161
npm run test-unit-travis
6262
npm run lint
6363
64+
results:
65+
if: ${{ always() }}
66+
runs-on: ubuntu-latest
67+
name: Final Test Results
68+
needs: [build]
69+
steps:
70+
- run: |
71+
result="${{ needs.build.result }}"
72+
if [[ $result == "success" || $result == "skipped" ]]; then
73+
exit 0
74+
else
75+
exit 1
76+
fi
77+
78+
6479
publish-release:
6580
if: "github.ref_name == 'main' && github.event_name != 'pull_request'"
6681
name: semantic-release

0 commit comments

Comments
 (0)