facebook / infer

A static analyzer for Java, C, C++, and Objective-C
http://fbinfer.com/
MIT License
14.92k stars 2.01k forks source link

ci: Use GITHUB_OUTPUT envvar instead of set-output command #1811

Closed arunsathiya closed 6 months ago

arunsathiya commented 8 months ago

save-state and set-output commands used in GitHub Actions are deprecated and GitHub recommends using environment files.

This PR updates the usage of set-output to $GITHUB_OUTPUT

Instructions for envvar usage from GitHub docs:

https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameter

facebook-github-bot commented 6 months ago

@jvillard has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot commented 6 months ago

@jvillard merged this pull request in facebook/infer@6f13c0cd14813d64a469beb794601d662a8c4fd2.

jvillard commented 6 months ago

Thank you!