Skip to content
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

upgrading install-nix-action to fix build #1424

Merged
merged 2 commits into from Dec 26, 2020

Conversation

tewfik-ghariani
Copy link
Contributor

All nixops as well as nixops-plugins' builds are failing at the 'nix installation' part

Error: The `add-path` command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
Error: Unable to process command '::add-path::/nix/var/nix/profiles/default/bin' successfully.
Error: The `add-path` command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
Error: Unable to process command '::set-env name=NIX_PATH::/nix/var/nix/profiles/per-user/root/channels' successfully.
Error: The `set-env` command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

Ref : https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

It was fixed per cachix/install-nix-action#52 so we need to upgrade to v12

cc @adisbladis

@AmineChikhaoui AmineChikhaoui merged commit ed2868f into NixOS:master Dec 26, 2020
@tewfik-ghariani
Copy link
Contributor Author

Thanks @AmineChikhaoui !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants