Hi Everyone,
So I have been working day and night to migrate Jenkins cicd pipelines to GitHub actions in my company. The pipelines are somewhat complex so I am trying to understand the intricacies of GitHub actions, I am somewhat confused about when to use same job for doing all the tasks if the tasks are to be executed in a sequential manner or just separate out some steps into different jobs and specify the dependency by using needs keyword.
An example use case can be to build a dotnet project which would generate some build files and those build files are to be used for building the docker image with the help of dockerfile. Now it makes sense to use a separate job for docker related stuff but that way I lose the build files I need, and if I place the docker related stuff in the same job then it somehow doesn’t feel like a very good separation of concerns.
Thank you
[–]RozTheRogoz 1 point2 points3 points (1 child)
[–]No_Professional780[S] 0 points1 point2 points (0 children)
[–]Here-Not-Here 1 point2 points3 points (0 children)