CI: update nix install action

This commit is contained in:
Mihai Fufezan 2023-04-26 23:55:38 +03:00
parent 8bfb7e9b1e
commit b4fdc0be52
No known key found for this signature in database
GPG key ID: 5899325F2F120900

View file

@ -11,15 +11,16 @@ jobs:
with:
submodules: recursive
- name: Install nix
uses: cachix/install-nix-action@v18
uses: cachix/install-nix-action@v20
with:
install_url: https://nixos.org/nix/install
extra_nix_config: |
auto-optimise-store = true
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
experimental-features = nix-command flakes
- uses: cachix/cachix-action@v12
with:
name: hyprland
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build Hyprpaper with default settings
run: nix build --print-build-logs
run: nix build --print-build-logs --accept-flake-config