Narrow down necessary actions to reduce build time.