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

The `set-output` command is deprecated #109

Closed Nimesha-Premaraja closed 5 months ago

Nimesha-Premaraja commented 10 months ago

Describe the bug

The set-output command is deprecated for GitHub Actions. We get following warning when run the GitHub Action

Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

How can we reproduce it?

should be updated to write to the new GITHUB_STATE and GITHUB_OUTPUT environment files as mentioned in this documentation https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Environment information

runs-on : ubuntu-latest uses: terraform-docs/gh-actions@v1.0.0

codymaust commented 9 months ago

97 and #101 are for the same issue

(edit: removed info that was incorrect)

atrull commented 9 months ago

+1

actuarysailor commented 8 months ago

+1

ViacheslavKudinov commented 5 months ago

Could be good to get this "concern" fixed.

khos2ow commented 5 months ago

Closing this in favor of its duplicate of #97 which is fixed in #94.