set-output is being deprecated, we should replace its usage with the newer alternative https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/