Use cachix/install-nix-action

This commit is contained in:
scorpion-26 2023-03-03 19:33:38 +01:00 committed by GitHub
parent 8102cc657f
commit 8577eff37c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,11 +38,13 @@ jobs:
image: nixos/nix
steps:
- name: Download gBar
run: |
git clone https://github.com/${{github.repository}}
cd gBar
uses: actions/checkout@v3.3.0
- name: Install Nix
uses: cachix/install-nix-action@v20
- name: Build Nix flake
run: |
nix build --extra-experimental-features nix-command --extra-experimental-features flakes
nix build