Cross-validation and feature selection

Hey, So I’m trying to develop a workflow that allows me to do 5-fold cross-validation but with each iteration do a feature selection and at the end, compile all of the best features from all of the 5-fold cross-validation to be used to build a model