push to cachix if build succeeds
Some checks failed
Build / nix-build (native-x86_64, durincore) (pull_request) Failing after 7m24s
Build / nix-build (native-aarch64, varda) (pull_request) Has been cancelled

This commit is contained in:
Joseph Hanson 2024-05-26 17:16:42 -05:00
parent a1e863723f
commit 0e9ebf5d8d

View file

@ -43,3 +43,6 @@ jobs:
-v \
--log-format raw \
> >(tee stdout.log) 2> >(tee /tmp/nix-build-err.log >&2)
- name: Push to Cachix
if: success()
run: nix build ".#top.${{ matrix.system }}" --json | jq -r .[].drvPath | cachix push hsndev