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

add-path command is disabled #1

Open
ryanvade opened this issue Nov 30, 2020 · 2 comments
Open

add-path command is disabled #1

ryanvade opened this issue Nov 30, 2020 · 2 comments

Comments

@ryanvade
Copy link

Getting the following while using the Action.

Unable to process command '::add-path::/opt/hostedtoolcache/aws-copilot/1.0.0/x64' successfully.



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/


@chmurson
Copy link
Contributor

I have the same issue. Any solution to this ?

@chmurson
Copy link
Contributor

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

Action authors who are using the toolkit should update the @actions/core package to v1.2.6 or greater to get the updated addPath and exportVariable functions.

All what need to be done is to update the dependencies. I'll do a fork and see if that helps...

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

No branches or pull requests

2 participants