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

Build fails due to deprecated set-env command #2

Open
miguelaferreira opened this issue May 5, 2021 · 0 comments
Open

Build fails due to deprecated set-env command #2

miguelaferreira opened this issue May 5, 2021 · 0 comments

Comments

@miguelaferreira
Copy link

While using this action I got the following error message. It seems the action needs to be upgraded to comply with the new runner restrictions.

ssh-agent -a /tmp/ssh-auth.sock
SSH_AUTH_SOCK=/tmp/ssh-auth.sock; export SSH_AUTH_SOCK;
SSH_AGENT_PID=1673; export SSH_AGENT_PID;
echo Agent pid 1673;
Error: Unable to process command '::set-env name=SSH_AUTH_SOCK,::/tmp/ssh-auth.sock' 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/
ssh-add /home/runner/.ssh/id_rsa
Identity added: /home/runner/.ssh/id_rsa (/home/runner/.ssh/id_rsa)
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

1 participant