percy / storybook-action

[Deprecated] A GitHub action to run Percy with Storybook
https://docs.percy.io/docs/github-actions#section-storybook-action
MIT License
11 stars 5 forks source link

Error: Unable to process command '::set-env name=PERCY_GITHUB_ACTION,::storybook/0.1.1' #21

Closed szastupov closed 3 years ago

szastupov commented 3 years ago

Hi there,

Today we started getting this error:

Error: Unable to process command '::set-env name=PERCY_GITHUB_ACTION,::storybook/0.1.1' successfully.Error: Unable to process command '::set-env name=PERCY_GITHUB_ACTION,::storybook/0.1.1' 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/
Error: Unable to process command '::set-env name=PERCY_BRANCH,::reduce-network-requests' 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/

Looks like core.exportVariable is deprecated now.

sparanoid commented 3 years ago

Upgrade to v0.1.6 may fix this problem.

szastupov commented 3 years ago

@sparanoid that helped, thank you!