Actions: Add warning on template string checks

This commit is contained in:
toonn 2021-07-19 20:25:47 +02:00
parent a77ebbe712
commit ddffcc0885
No known key found for this signature in database
GPG key ID: A1756943D328A924

View file

@ -44,6 +44,7 @@ jobs:
run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
- name: Setup cachix
uses: cachix/cachix-action@v10
# Don't replace the template string here!
if: ${{ matrix.cachixName != '<YOUR_CACHIX_NAME>' }}
with:
name: ${{ matrix.cachixName }}
@ -61,5 +62,6 @@ 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
# Don't replace the template string here!
if: ${{ matrix.nurRepo != '<YOUR_REPO_NAME>' }}
run: curl -XPOST "https://nur-update.herokuapp.com/update?repo=${{ matrix.nurRepo }}"