index.js uses set-env and add-path. Both will be disabled soon. As a result I'm seeing these warnings in my log:
The `set-env` command is deprecated and will be disabled on November 16th. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
The `add-path` command is deprecated and will be disabled on November 16th. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
I have the same problem.
Me too :/
@silv4b You mean this? https://github.com/silv4b/ti-icons-test/runs/1403737126?check_suite_focus=true#step:3:6
Your case is a problem of actions/setup-node, use the latest version v1.4.4 or v1.
Actually, the actions/checkout does not use the core.addPath and core.exportVariable so I do not think this action throws the error message. Maybe, you need to check which action returns the message.
Duplicate of #361 and #380
@silv4b You mean this? https://github.com/silv4b/ti-icons-test/runs/1403737126?check_suite_focus=true#step:3:6
Your case is a problem ofactions/setup-node, use the latest version v1.4.4 or v1.
I was checking exactly that, it worked, thanks for your answer, this is my first contact with Actions.
Just got this today
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/
Seems that ACTIONS_ALLOW_UNSECURE_COMMANDS=true is a quick (unsecure) fix for it.
not is recommended set insecure commands , try :
some like that
- run: echo "NOW=v$(date +'%Y%m%d.%H%M%S')" >> $GITHUB_ENV
Most helpful comment
I was checking exactly that, it worked, thanks for your answer, this is my first contact with Actions.