move nix cache to after nix install
This commit is contained in:
parent
36bbf54e16
commit
11c8dcc04c
2
.github/workflows/flake-update.yml
vendored
2
.github/workflows/flake-update.yml
vendored
@ -10,13 +10,13 @@ jobs:
|
|||||||
if: github.ref == 'refs/heads/main' # ensure workflow_dispatch only runs on main
|
if: github.ref == 'refs/heads/main' # ensure workflow_dispatch only runs on main
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: cachix/install-nix-action@v24
|
uses: cachix/install-nix-action@v24
|
||||||
with:
|
with:
|
||||||
extra_nix_config: |
|
extra_nix_config: |
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
install_url: https://releases.nixos.org/nix/nix-2.19.0/install
|
install_url: https://releases.nixos.org/nix/nix-2.19.0/install
|
||||||
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
- name: Calculate pre-drv
|
- name: Calculate pre-drv
|
||||||
run: nix ./utils/eval-to-drv.sh pre
|
run: nix ./utils/eval-to-drv.sh pre
|
||||||
- name: Pull latest docker images
|
- name: Pull latest docker images
|
||||||
|
Loading…
x
Reference in New Issue
Block a user