CI: Replace the deprecated `::set-output` command by writing to $GITHUB_OUTPUT in workflow definition

See "CI: Replace the deprecated `::set-output` command by writing to
$GITHUB_OUTPUT in matrix.py" for the reasoning behind this commit.
3 files changed