mirror of
https://github.com/ilyakooo0/ormolu.git
synced 2024-10-27 19:49:12 +03:00
Skip pushing to cachix when the required context is not provided
This commit is contained in:
parent
777524b6de
commit
f27a6abaf8
@ -23,7 +23,9 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Push Cachix
|
name: Push Cachix
|
||||||
command: |
|
command: |
|
||||||
nix-store -qR --include-outputs $(nix-instantiate default.nix) | cachix push tweag
|
if [ -n "$CACHIX_SIGNING_KEY" ];
|
||||||
|
then nix-store -qR --include-outputs $(nix-instantiate default.nix) | cachix push tweag;
|
||||||
|
fi
|
||||||
- run:
|
- run:
|
||||||
name: Build the package (includes running the tests)
|
name: Build the package (includes running the tests)
|
||||||
command: nix-build
|
command: nix-build
|
||||||
|
Loading…
Reference in New Issue
Block a user