squizlabs / PHP_CodeSniffer

PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
BSD 3-Clause "New" or "Revised" License
10.66k stars 1.48k forks source link

GH Actions: fix use of deprecated `set-output` #3691

Closed jrfnl closed 1 year ago

jrfnl commented 1 year ago

GitHub has deprecated the use of set-output (and set-state) in favour of new environment files.

This commit updates workflows to use the new methodology.

Refs:

👉🏻 Note: this won't get rid of all warnings yet as a lot of predefined action runners also use set-output, but most of those are in the process of updating and/or have released a new version already, so the other warnings should automatically disappear over the next few weeks.

gsherwood commented 1 year ago

Thanks a lot for making this change.