mirror of
https://github.com/FliegendeWurst/nur-packages.git
synced 2024-11-24 09:55:07 +00:00
ci: enable caching
This commit is contained in:
parent
189bc27779
commit
35c961fd55
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -41,7 +41,7 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Install nix
|
- name: Install nix
|
||||||
uses: cachix/install-nix-action@v23
|
uses: DeterminateSystems/nix-installer-action@main
|
||||||
with:
|
with:
|
||||||
nix_path: "${{ matrix.nixPath }}"
|
nix_path: "${{ matrix.nixPath }}"
|
||||||
# nix 2.6 breaks restrict-eval, when using the NIX_PATH
|
# nix 2.6 breaks restrict-eval, when using the NIX_PATH
|
||||||
@ -49,6 +49,7 @@ jobs:
|
|||||||
extra_nix_config: |
|
extra_nix_config: |
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
- name: Show nixpkgs version
|
- name: Show nixpkgs version
|
||||||
run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
|
run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
|
||||||
#- name: Setup cachix
|
#- name: Setup cachix
|
||||||
|
Loading…
Reference in New Issue
Block a user