ci: merge workflow changes from upstream
This commit is contained in:
parent
d1ad137626
commit
f616baa7b2
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -41,6 +41,8 @@ jobs:
|
||||
uses: cachix/install-nix-action@v14
|
||||
with:
|
||||
nix_path: "${{ matrix.nixPath }}"
|
||||
extra_nix_config: |
|
||||
experimental-features = nix-command flakes
|
||||
- name: Show nixpkgs version
|
||||
run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
|
||||
- name: Setup cachix
|
||||
@ -50,8 +52,7 @@ jobs:
|
||||
name: ${{ matrix.cachixName }}
|
||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||
- 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
|
||||
run: nix shell -f '<nixpkgs>' nix-build-uncached -c nix-build-uncached ci.nix -A cacheOutputs
|
||||
- name: Trigger NUR update
|
||||
if: ${{ matrix.nurRepo != '<YOUR_REPO_NAME>' }}
|
||||
run: curl -XPOST "https://nur-update.herokuapp.com/update?repo=${{ matrix.nurRepo }}"
|
||||
|
Loading…
Reference in New Issue
Block a user