There is no persistance of data by default between 2 jobs. You need to use artifacts in order to achieve what you are trying to do: https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/storing-and-sharing-data-from-a-workflow