ramsey / composer-install

:gift: A GitHub Action to streamline installation of PHP dependencies with Composer.
MIT License
233 stars 32 forks source link

`set-output` function is deprecated #236

Closed jrfnl closed 2 years ago

jrfnl commented 2 years ago

Description

GitHub in their wisdom has deprecated the use of set-output (and save-state). As set-output is used in every script in this action runner, the logs of any workflow run using it are now showing lots of warnings.

Refs:

Expected behavior

No warnings.

Screenshots or output

image

Environment details

Not relevant

Additional context

I've got the principle for a fix ready, just running into issues with the tests as expect doesn't show the new output, so I'm not all that sure what the updated output expectations should be.

jrfnl commented 2 years ago

Looks like PR #235 attempts to address this and that @desrosj has got the test updates figured out already.