mirror of
https://github.com/DeterminateSystems/nix-installer-action.git
synced 2024-12-23 13:32:06 +01:00
Reinstate the MNC prior to reinstall
This commit is contained in:
parent
23ddac323e
commit
f957521643
1 changed files with 4 additions and 6 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
@ -88,15 +88,13 @@ jobs:
|
|||
hello
|
||||
nix store gc
|
||||
nix run nixpkgs#hello
|
||||
- name: Uninstall Nix
|
||||
run: |
|
||||
/nix/nix-installer uninstall --no-confirm
|
||||
- name: Reinstall Nix
|
||||
uses: ./
|
||||
with:
|
||||
logger: pretty
|
||||
log-directives: nix_installer=trace
|
||||
backtrace: full
|
||||
reinstall: true
|
||||
extra-conf: |
|
||||
use-sqlite-wal = true
|
||||
- name: Test `nix` with `$GITHUB_PATH`
|
||||
|
@ -174,15 +172,15 @@ jobs:
|
|||
if: success() || failure()
|
||||
run: |
|
||||
pkill magic-nix-cache
|
||||
- name: Uninstall Nix
|
||||
run: |
|
||||
/nix/nix-installer uninstall --no-confirm
|
||||
# Reinstate the MNC
|
||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||
- name: Reinstall Nix
|
||||
uses: ./
|
||||
with:
|
||||
logger: pretty
|
||||
log-directives: nix_installer=trace
|
||||
backtrace: full
|
||||
reinstall: true
|
||||
extra-conf: |
|
||||
use-sqlite-wal = true
|
||||
- name: Test `nix` with `$GITHUB_PATH`
|
||||
|
|
Loading…
Reference in a new issue