Skip to content

Conversation

jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Oct 14, 2022

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 warning 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.

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:
* https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
* https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#environment-files
@jrfnl jrfnl added this to the 2.3.4 milestone Oct 14, 2022
@jrfnl jrfnl requested a review from a team as a code owner October 14, 2022 18:06
Copy link
Contributor

@GaryJones GaryJones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@GaryJones GaryJones merged commit 5972029 into develop Oct 14, 2022
@GaryJones GaryJones deleted the feature/ghactions-dont-use-set-output branch October 14, 2022 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants