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