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

Unable to process command '::add-path::...' #84

Closed
Qard opened this issue May 27, 2022 · 2 comments
Closed

Unable to process command '::add-path::...' #84

Qard opened this issue May 27, 2022 · 2 comments
Labels
❓ needs-more-info Need more information to accurately resolve

Comments

@Qard
Copy link

Qard commented May 27, 2022

This action seems to be using unsecure commands which are rejected by default. Is there some way around that which doesn't involve disabling security?

Error: Unable to process command '::add-path::C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\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/
@timheuer
Copy link
Member

@Qard this was fixed a while back (see #26) -- are you using the latest version?

@timheuer timheuer added the ❓ needs-more-info Need more information to accurately resolve label May 27, 2022
@Qard
Copy link
Author

Qard commented May 27, 2022

Oh, whoops. Disregard. 😅

@Qard Qard closed this as completed May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❓ needs-more-info Need more information to accurately resolve
Projects
None yet
Development

No branches or pull requests

2 participants