Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
SevereCloud opened this issue Oct 13, 2022 · 3 comments · Fixed by #252
Closed

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

SevereCloud opened this issue Oct 13, 2022 · 3 comments · Fixed by #252
Assignees
Labels
bug Something isn't working

Comments

@SevereCloud
Copy link

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

@SevereCloud SevereCloud added the bug Something isn't working label Oct 13, 2022
@stefanzweifel
Copy link
Owner

Thanks for letting me know!
Another user reported this through this discussion already: #248

Will push a fix in the coming days.

@stefanzweifel
Copy link
Owner

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

  • re-add the old syntax so both approches are supported
  • remove the old syntax again towards the end of the year, as most enterprise users will hopefully have updated their runners by then.
  • add a big warning to the README / issues forms, that the warning users are seing in their logs regarding "set-output" are already fixed in the Action

@stefanzweifel stefanzweifel reopened this Oct 24, 2022
@stefanzweifel stefanzweifel self-assigned this Oct 24, 2022
@stefanzweifel
Copy link
Owner

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: #256)
The alias for v4 has been updated to point from v4.15.1 to v4.15.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants