Passing information between jobs - GitHub Docs

You can define outputs to pass information from one job to another.