mirror of
https://github.com/ilyakooo0/ormolu.git
synced 2024-10-27 11:41:17 +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:
|
||||
name: Push Cachix
|
||||
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:
|
||||
name: Build the package (includes running the tests)
|
||||
command: nix-build
|
||||
|
Loading…
Reference in New Issue
Block a user