Skip to content

Commit b91c993

Browse files
committed
build: add status check for matrix strategies
Signed-off-by: Lídia Tarcza <[email protected]>
1 parent 7fd391f commit b91c993

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/build.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
name: build
77

8-
on:
8+
on:
99
push:
1010
branches: ['**']
1111
pull_request:
@@ -58,6 +58,20 @@ jobs:
5858
- name: Build & Test
5959
run: make ci
6060

61+
results:
62+
if: ${{ always() }}
63+
runs-on: ubuntu-latest
64+
name: Final Test Results
65+
needs: [build]
66+
steps:
67+
- run: |
68+
result="${{ needs.build.result }}"
69+
if [[ $result == "success" || $result == "skipped" ]]; then
70+
exit 0
71+
else
72+
exit 1
73+
fi
74+
6175
create-release:
6276
name: semantic-release
6377
needs: build

0 commit comments

Comments
 (0)