Fix broken CI caused by Nix reinstallation wiping out the Magic Nix Cache #79

Merged
lucperkins merged 5 commits from fix-mnc-issue into main 2024-05-02 17:05:28 +00:00
Showing only changes of commit ff2ea37e97 - Show all commits

View file

@ -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: