Skip to content

Commit d79ba95

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

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/build.yaml

Lines changed: 16 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,21 @@ 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+
75+
6176
create-release:
6277
name: semantic-release
6378
needs: build

0 commit comments

Comments
 (0)