CI: Replace the deprecated `::set-output` command by writing to $GITHUB_OUTPUT in matrix.py

As announced in

https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

the `::set-output` command is deprecated, because processes during the workflow
execution might output untrusted information that might include the
`::set-output` command, thus allowing these untrusted information to hijack the
build.

The replacement is writing to the file indicated by the `$GITHUB_OUTPUT`
environment variable.

(cherry picked from commit 8a03bf4052884a38ceb01274b8344676cc71a06f)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 7258191d11fc4f27c9f1af39b530f8b6bd4fd263)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 040ea328ff635aa92088d9bafc3f66f4142b799d)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed