diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8f9207eddafd491fee8532c793896d87f3a4a360..38ec33c3c45cf31bcd57fbf5240be2d2c452927e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ # # 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 @@ # # 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,8 +44,8 @@ - name: Show nixpkgs version run: nix-instantiate --eval -E '(import {}).lib.version' - name: Setup cachix uses: cachix/cachix-action@v6 - push: schedule: + # rebuild everyday at 2:51 with: name: ${{ matrix.cachixName }} signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' @@ -53,5 +53,4 @@ - name: Build nix packages # 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 }}"