M .builds/archlinux.yml => .builds/archlinux.yml +4 -1
@@ 9,4 9,7 @@ tasks:
- build: |
cd garbage
cargo test --all
-
+triggers:
+ - action: email
+ condition: failure
+ to: Michael Zhang <mail@mzhang.io>
M .builds/nixos.yml => .builds/nixos.yml +7 -1
@@ 7,4 7,10 @@ sources:
environment:
NIX_CONFIG: "experimental-features = nix-command flakes"
tasks:
- - build: time nix -L build ./garbage |& ts -s
+ - build: |
+ set -o pipefail
+ nix -L build ./garbage |& ts -s
+triggers:
+ - action: email
+ condition: failure
+ to: Michael Zhang <mail@mzhang.io>