From 1e18d8b6c73d2ea2a68f03643678cc58f114f547 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sat, 24 Sep 2022 13:07:28 +0800 Subject: [PATCH] ci: push profiles to binary cache --- .github/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c46631e8..3396bc35 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,6 +43,12 @@ jobs: nix_path: nixpkgs=channel:nixos-unstable extra_nix_config: | keep-going = true + - name: Prepare push to binary cache + uses: cachix/cachix-action@v10 + if: ${{ github.ref == 'refs/heads/master' }} + with: + name: foo-dogsquared + authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - name: Build Nix profiles run: | for nixosHost in ni graphical-installer bootstrap; do