From 52d63e8b8edfb397b03964d763a8adbced17844e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 14 Aug 2020 13:36:36 +0100 Subject: [PATCH] github actions: better defaults in case someone forgets to update those --- .github/workflows/build.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 38ec33c..8f9207e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ jobs: # The repo name as used in # https://github.com/nix-community/NUR/blob/master/repos.json nurRepo: - - mic92 + - # Set this to cache your build results in cachix for faster builds # in CI and for everyone who uses your cache. # @@ -27,7 +27,7 @@ jobs: # For this to work, you also need to set the CACHIX_SIGNING_KEY secret # in your repository settings in Github found at https://github.com//nur-packages/settings/secrets cachixName: - - + - nixPath: - nixpkgs=channel:nixos-unstable - nixpkgs=channel:nixpkgs-unstable @@ -44,7 +44,7 @@ jobs: run: nix-instantiate --eval -E '(import {}).lib.version' - name: Setup cachix uses: cachix/cachix-action@v6 - if: ${{ matrix.cachixName != '' }} + if: ${{ matrix.cachixName != '' }} with: name: ${{ matrix.cachixName }} signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' @@ -52,4 +52,5 @@ jobs: # TODO switch to default nixpkgs channel once nix-build-uncached 1.0.0 is in stable run: nix run -I 'nixpkgs=channel:nixos-unstable' nixpkgs.nix-build-uncached -c nix-build-uncached ci.nix -A cacheOutputs - name: Trigger NUR update + if: ${{ matrix.nurRepo != '' }} run: curl -XPOST "https://nur-update.herokuapp.com/update?repo=${{ matrix.nurRepo }}"