Skip to content

Commit 8f961fd

Browse files
committed
ci: set results from matrix in checks workflow
1 parent 367b847 commit 8f961fd

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/checks.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,17 @@ jobs:
5252

5353
# - name: Lint styles
5454
# run: npm run lint:styles
55+
56+
results:
57+
if: ${{ always() }}
58+
runs-on: ubuntu-latest
59+
name: Final Results
60+
needs: [checks]
61+
steps:
62+
- run: |
63+
result="${{ needs.checks.result }}"
64+
if [[ $result == "success" || $result == "skipped" ]]; then
65+
exit 0
66+
else
67+
exit 1
68+
fi

0 commit comments

Comments
 (0)