1818
1919jobs :
2020 release-acceptance :
21- runs-on : ubuntu-latest
21+ strategy :
22+ fail-fast : false # Don't cancel the other OS if one fails.
23+ matrix :
24+ os : [ubuntu-latest, macos-latest]
25+ runs-on : ${{ matrix.os }}
2226 if : >-
2327 github.event_name == 'workflow_dispatch' ||
2428 (github.event_name == 'workflow_run'
@@ -32,19 +36,24 @@ jobs:
3236 with :
3337 ref : ${{ github.event.workflow_run.head_sha || github.sha }}
3438
35- # Node is only used to run the .ts harness in run-test.sh, which needs >=22.18 for TS
36- # type-stripping. The aztec CLI installer manages its own node version independently.
37- - name : Setup Node.js
38- uses : actions/setup-node@v4
39- with :
40- node-version : 22
41-
4239 - name : Run Aztec CLI acceptance test
4340 timeout-minutes : 30
4441 run : ./aztec-up/test/aztec-cli-acceptance-test/run-test.sh
4542
43+ notify :
44+ needs : release-acceptance
45+ if : always() && github.event_name != 'workflow_dispatch'
46+ runs-on : ubuntu-latest
47+ env :
48+ VERSION : ${{ github.event.inputs.version || github.event.workflow_run.head_branch }}
49+ steps :
50+ - name : Checkout
51+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
52+ with :
53+ ref : ${{ github.event.workflow_run.head_sha || github.sha }}
54+
4655 - name : Notify Slack on success
47- if : success() && github.event_name != 'workflow_dispatch '
56+ if : needs.release-acceptance.result == 'success '
4857 env :
4958 SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
5059 run : |
5463 "#team-fairies"
5564
5665 - name : Notify Slack and dispatch ClaudeBox on failure
57- if : failure() && github.event_name != 'workflow_dispatch '
66+ if : needs.release-acceptance.result == 'failure '
5867 env :
5968 SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
6069 GITHUB_TOKEN : ${{ secrets.AZTEC_BOT_GITHUB_TOKEN }}
0 commit comments