From 397cea7bd954d17f556983251d2fee28e7bf1bf9 Mon Sep 17 00:00:00 2001 From: Ollie Charles Date: Wed, 27 Jan 2021 09:08:33 +0000 Subject: [PATCH] Add Cachix (#14) --- .github/workflows/build.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index da840ab..ab9a811 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,4 +13,9 @@ jobs: with: nix_path: nixpkgs=channel:nixos-unstable - - run: nix-build -A hsPkgs.dear-imgui.components.exes --option trusted-public-keys "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7Rqoo= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" --option substituters "https://hydra.iohk.io https://iohk.cachix.org https://cache.nixos.org/" + - uses: cachix/cachix-action@v8 + with: + name: hs-dear-imgui + authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' + + - run: nix-build -A hsPkgs.dear-imgui.components.exes