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

Fix Github action by updating install-nix-action #253

Merged
merged 1 commit into from Nov 19, 2020

Conversation

blitz
Copy link
Contributor

@blitz blitz commented Nov 19, 2020

install-nix-action v9 still uses the now deprecated add-path command.
This results in ugly errors:

Error: Unable to process command '::add-path::/nix/var/nix/profiles/per-user/runner/profile/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/

Update to v12 to fix this.

@edolstra @domenkozar

install-nix-action v9 still uses the now deprecated add-path command.
This results in ugly errors. Update to v12 to fix this.
@edolstra edolstra merged commit a05752f into NixOS:master Nov 19, 2020
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

2 participants