New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nix cannot be installed on subsequent runs on hosted runners #191
Comments
Could you paste the error you're seeing? |
Hello,
Unfortunately, I checked the logs, but they expired and are unavailable. I have re-switched to the hosted Github Actions as a workaround for now.
If you have any pointers, I would gladly try to troubleshoot.
Best,
Giulio
…On 26 Aug 2023 at 10:56 -0700, Sander ***@***.***>, wrote:
Could you paste the error you're seeing?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I’ve just witnessed a similar situation: first run on a self-hosted runner went nicely, the following one failed with:
|
But it seems to have been fixed already: with version 25 of this action, in a similar setting I get:
|
I still see this with version 25
|
This is a common misconception with self-hosted runners. There's no sandboxing by default. GitHub leaves it up to you to figure out how to set this up.
The action checks whether A lot of this was already discussed in #98, so I'm closing this as a duplicate. |
I switched to a self-hosted runner from
ubuntu-latest
and only the first action was able to complete successfully. The followings fail at installing Nix as it results already installed from the previous run.It seems the installation in the self-hosted runner is not sandboxed, i.e., Nix is not installed on a per-action basis / contained.
Any hints?
Thank you!
The text was updated successfully, but these errors were encountered: