As of now, the two worflow share a huge common part. It could be useful to leverage [re-use workflow](https://docs.github.com/en/actions/how-tos/reuse-automations/reuse-workflows) to re-factor this.