CI: update nix install action

This commit is contained in:
Mihai Fufezan 2023-05-03 23:40:19 +03:00
parent 97c5134753
commit 7d78a25fe1
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 Hyprpicker with default settings - name: Build Hyprpicker with default settings
run: nix build --print-build-logs run: nix build --print-build-logs --accept-flake-config