chrisdickinson / setup-yq

Apache License 2.0
27 stars 20 forks source link

1.0.0 broken by add-path deprecation #6

Closed ringerc closed 2 years ago

ringerc commented 2 years ago

This action is broken by the deprecation of the add-path directive. See https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

You will get errors like

Error: Unable to process command '::add-path::/opt/hostedtoolcache/yq/2.4.1/x64' 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/

ringerc commented 2 years ago

Was already fixed in 1.0.1