Replace `set-output` by `$GITHUB_OUTPUT`
# What does this PR do?

Apply the suggestion in [GitHub Actions: Deprecating save-state and set-output commands](https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/) to avoid deprecated actions.
_The documentation is not available anymore as the PR was closed or merged._