stefanzweifel / git-auto-commit-action

Automatically commit and push changed files back to GitHub with this GitHub Action for the 80% use case.
MIT License
2.01k stars 228 forks source link

Warning: The `set-output` command is deprecated and will be disabled soon. #250

Closed SevereCloud closed 1 year ago

SevereCloud commented 1 year ago

git-auto-commit Version

v4

Machine Type

Ubuntu (eg. ubuntu-latest)

Bug description

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/

https://github.com/stefanzweifel/git-auto-commit-action/blob/master/entrypoint.sh#L14

https://github.com/stefanzweifel/git-auto-commit-action/blob/master/entrypoint.sh#L27

https://github.com/stefanzweifel/git-auto-commit-action/blob/master/entrypoint.sh#L104

Steps to reproduce

Run and see annotations

Tried solutions

No response

Example Workflow

-

Relevant log output

No response

stefanzweifel commented 1 year ago

Thanks for letting me know! Another user reported this through this discussion already: https://github.com/stefanzweifel/git-auto-commit-action/discussions/248

Will push a fix in the coming days.

stefanzweifel commented 1 year ago

Reopening this as the Action now fails for GitHub enterprise users with an outdated runner (#254). Will …

stefanzweifel commented 1 year ago

The Action has been updated to use the old syntax, if the underlying Actions runner has not yet been updated. (See #255).

A new version v4.15.3 has been tagged. (See discussion here: https://github.com/stefanzweifel/git-auto-commit-action/discussions/256) The alias for v4 has been updated to point from v4.15.1 to v4.15.3.