-
Idempotent installation
Don't run the installer if Nix has already been installed on the host.
We assume that the installed Nix is already in the desired state.This allows to share a given pipeline between hosted and self-hosted
runners. Usually the self-hosted runners are long-lived and already have
Nix installed.Note that this breaks backwards compatibility if you relied on installing Nix twice with different inputs
-
Replaced deprecated GitHub functions