Closed flokli closed 2 years ago
This is v14.1, not v15, so I didn't check if this still occurs with v15, or whether https://github.com/cachix/install-nix-action/pull/105 fixed it.
v15 should fix this with --fail passed to curl and it tries indefinitely :)
Retrying indefinitely isn't that nice either - I'm not sure what the timeouts are, but we should probably fail before burning hours of CI minutes until GH Actions eventually times out…
Nix installation URL shouldn't be down for that long.
if it is, it would be a rare event and I'd rather burn a few dollars than waste human time restarting builds.
I stumbled over a GH Action that couldn't find
nix-env
.Digging further up, I saw
cachix/install-nix-action@v14.1
had a transient error, did retry 5 times, and then ultimately failed.However, it didn't exit with a nonzero exit status: