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

Deprecate set-env and add-path commands #71

Closed
kdoroschak opened this issue Nov 30, 2020 · 0 comments · Fixed by #70
Closed

Deprecate set-env and add-path commands #71

kdoroschak opened this issue Nov 30, 2020 · 0 comments · Fixed by #70
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@kdoroschak
Copy link
Member

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

Currently I believe environment variables like this are being used in bootstrap_dev.sh, but I'm not sure if anywhere else or how that script is used for the automated build. I can't figure out where add-path and set-env are being called...

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/
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/
@kdoroschak kdoroschak added bug Something isn't working help wanted Extra attention is needed labels Nov 30, 2020
@kdoroschak kdoroschak linked a pull request Dec 1, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant