can we merge them to avoid duplicate checkout and building? <img width="1441" alt="image" src="https://github.com/user-attachments/assets/9ff21907-8531-4fd5-97ce-fd24bbba44e5"> <img width="1369" alt="image" src="https://github.com/user-attachments/assets/321f0be2-99fa-41f7-b984-dd331eed0bb9">
can we merge them to avoid duplicate checkout and building?

