CI: build.sh: MAIN: add the channel update

M  build.sh
This commit is contained in:
Anton-Latukha 2020-06-01 19:08:37 +03:00
parent f25a5034f0
commit f9f38563c4
No known key found for this signature in database
GPG Key ID: 3D84C07E91802E41
1 changed files with 4 additions and 0 deletions

View File

@ -148,6 +148,10 @@ nix upgrade-nix || true
# NOTE: Superuser update for macOS setup
sudo nix upgrade-nix || true
# NOTE: Make channels current
nix-channel --update || true
sudo nix-channel --update || true
# NOTE: Secrets are not shared to PRs from forks
# NOTE: nix-build | cachix push <name> - uploads binaries, runs&works only in the branches of the main repository, so for PRs - else case runs