[CICD] Updated build generation. All branches will create an artifact, only master will last longer than 24 hours