push to cachix if build succeeds
This commit is contained in:
parent
a1e863723f
commit
0e9ebf5d8d
1 changed files with 4 additions and 1 deletions
|
@ -42,4 +42,7 @@ jobs:
|
||||||
--fallback \
|
--fallback \
|
||||||
-v \
|
-v \
|
||||||
--log-format raw \
|
--log-format raw \
|
||||||
> >(tee stdout.log) 2> >(tee /tmp/nix-build-err.log >&2)
|
> >(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
|
Reference in a new issue