terraform-docs / gh-actions

A Github action for generating Terraform module documentation using terraform-docs and gomplate
Apache License 2.0
144 stars 61 forks source link

set-output is deprecated #92

Closed robert-spring closed 1 year ago

robert-spring commented 1 year ago

https://github.com/terraform-docs/gh-actions/blob/ac2a6b5864d9ea0a8f355156b162343b1f4d34b0/src/docker-entrypoint.sh#L180

needs to change to

echo "num_changed=${num_changed}" >> $GITHUB_ENV
ViacheslavKudinov commented 1 year ago

It still can be output: echo "num_changed=${num_changed}" >> $GITHUB_OUTPUT

cocallaw commented 1 year ago

Related issue https://github.com/terraform-docs/gh-actions/issues/95