I was confused about the location of the file and as to its purpose, as I thought It had something to do with the external swift package I use.
This file is located inside the project file container and then inside the workspace file container.
The gitignore file that I'm using was preventing this file to be added to the repo, I had to comment out a bunch of files related to the project and workspace before it got added to the repo. Once I did, the workflow built just fine.
Thanks !