Fix broken CI caused by Nix reinstallation wiping out the Magic Nix Cache #79
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -48,7 +48,6 @@ jobs:
|
||||||
logger: pretty
|
logger: pretty
|
||||||
log-directives: nix_installer=trace
|
log-directives: nix_installer=trace
|
||||||
backtrace: full
|
backtrace: full
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
|
||||||
- name: echo $PATH
|
- name: echo $PATH
|
||||||
run: echo $PATH
|
run: echo $PATH
|
||||||
|
|
||||||
|
@ -131,7 +130,6 @@ jobs:
|
||||||
logger: pretty
|
logger: pretty
|
||||||
log-directives: nix_installer=trace
|
log-directives: nix_installer=trace
|
||||||
backtrace: full
|
backtrace: full
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
|
||||||
- name: echo $PATH
|
- name: echo $PATH
|
||||||
run: echo $PATH
|
run: echo $PATH
|
||||||
- name: Test `nix` with `$GITHUB_PATH`
|
- name: Test `nix` with `$GITHUB_PATH`
|
||||||
|
@ -168,12 +166,6 @@ jobs:
|
||||||
hello
|
hello
|
||||||
nix store gc
|
nix store gc
|
||||||
nix run nixpkgs#hello
|
nix run nixpkgs#hello
|
||||||
- name: Terminate the magic nix cache pre-reinstall
|
|
||||||
if: success() || failure()
|
|
||||||
run: |
|
|
||||||
pkill magic-nix-cache
|
|
||||||
# Reinstate the MNC
|
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
|
||||||
- name: Reinstall Nix
|
- name: Reinstall Nix
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue