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

GH Actions: various updates #2086

Merged
merged 1 commit into from
Oct 15, 2022
Merged

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Oct 14, 2022

GH Actions: fix use of deprecated set-output

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:

GH Actions: update the xmllint-problem-matcher

The xmllint-problem-matcher action runner has released a new version which updates it to use node 16.
This gets rid of a warning which was shown in the action logs.

Note: I've suggested to the author to use long-running branches for the action runner instead, which would make this update redundant, but no telling if or when they'll respond to that, let alone if they will follow my suggestion.

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
Copy link
Member Author

jrfnl commented Oct 15, 2022

I've removed the second commit - the action runner branch has become a long-running branch, so this update is no longer needed.

@jrfnl jrfnl force-pushed the feature/ghactions-various-tweaks branch from 3056346 to 70e3e8e Compare October 15, 2022 07:05
Copy link
Member

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

@GaryJones GaryJones merged commit 23378ef into develop Oct 15, 2022
@GaryJones GaryJones deleted the feature/ghactions-various-tweaks branch October 15, 2022 15:21
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.

3 participants