mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 16:25:59 +01:00
Nix CI: use DetSys' install & cache actions
This commit is contained in:
parent
2536630049
commit
f8008e4b3b
3 changed files with 4 additions and 27 deletions
11
.github/workflows/nix-build.yml
vendored
11
.github/workflows/nix-build.yml
vendored
|
@ -20,15 +20,8 @@ jobs:
|
|||
with:
|
||||
ref: ${{ github.ref }}
|
||||
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v22
|
||||
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: DeterminateSystems/nix-installer-action@main
|
||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||
- uses: cachix/cachix-action@v12
|
||||
with:
|
||||
name: hyprland
|
||||
|
|
10
.github/workflows/nix-update-inputs.yml
vendored
10
.github/workflows/nix-update-inputs.yml
vendored
|
@ -14,15 +14,7 @@ jobs:
|
|||
with:
|
||||
token: ${{ secrets.PAT }}
|
||||
|
||||
- name: Install nix
|
||||
uses: cachix/install-nix-action@v22
|
||||
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: DeterminateSystems/nix-installer-action@main
|
||||
- name: Update inputs
|
||||
run: nix/update-inputs.sh
|
||||
|
||||
|
|
10
.github/workflows/nix-update-wlroots.yml
vendored
10
.github/workflows/nix-update-wlroots.yml
vendored
|
@ -16,15 +16,7 @@ jobs:
|
|||
with:
|
||||
token: ${{ secrets.PAT }}
|
||||
|
||||
- name: Install nix
|
||||
uses: cachix/install-nix-action@v22
|
||||
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: DeterminateSystems/nix-installer-action@main
|
||||
- name: Update lockfile
|
||||
run: nix/update-wlroots.sh
|
||||
|
||||
|
|
Loading…
Reference in a new issue