Skip to content

Commit 1a72a79

Browse files
authored
Add a finalize step to use for branch protection rule
1 parent dacd103 commit 1a72a79

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/CI.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ on:
66
- main
77
tags: '*'
88
jobs:
9+
finalize:
10+
timeout-minutes: 10
11+
needs: [test]
12+
if: always()
13+
runs-on: ubuntu-latest
14+
steps:
15+
- run: |
16+
echo test: ${{ needs.test.result }}
17+
- run: exit 1
18+
if: |
19+
(needs.test.result != 'success')
920
test:
1021
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
1122
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)