Skip to content

Commit

Permalink
GitHub-CI/build_nix_NixOS-stable: add steps to check Nix version and …
Browse files Browse the repository at this point in the history
…update channel
  • Loading branch information
meebey committed Apr 21, 2024
1 parent 49a5553 commit 91fb3e1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/auto-ci-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,13 @@ jobs:
container: nixos/nix
steps:
- uses: actions/checkout@v1
- name: check Nix version
run: |
nix --version
nix-channel --list
- name: update channel
run: |
nix-channel --update
- name: build nix pkg
run: |
nix-build --expr 'let pkgs = import <nixpkgs> { }; in pkgs.callPackage ./nix/default.nix { gitBranch = "${{ github.ref_name }}"; }'

0 comments on commit 91fb3e1

Please sign in to comment.